|
-
Jan 10th, 2007, 12:22 PM
#1
Thread Starter
New Member
Help With Menu
Hi I am making a menu and 1 of the functions of menu is a button which you click is called Colour when you click Colour the background of the form is suppose to change. I want it to be 1 of 3 colours every time but it seems to only want to be 1 colour the way its programmed can anyone help me so it is random here is what i have so far.
Private Sub mnuColour_Click()
Form.BackColor = vbRed
Form.BackColor = vbBlue
Form.BackColor = vbGreen
End Sub
The colouyr it wants to be is vbgreen i however want it to be 1 of the three not the same green everytime you click it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|