kidjl 0 Newbie Poster

i f i want to randomize a series of buttons back colors, how should i do it?? For example , I create 9 buttons , and each of them is either red or white. However, i set the buttons under form1_Load at runtime. If i want each of them to radomizely swap their colors when i open the file, how should I program it?
if i have these
Dim rndColor As New Random
Dim myRnd As Integer

123
456
789

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.