Hi there,
I am working on an assignment that I have to create a menu.
The user is suppose to select the menu and change form color.
But I have no idea how to that. Help please. Anyone?

Well, changing the form color is pretty easy, it's just:

Form1.BackColor = vbBlack

For example..... you could use RGB

form1.backcolor = rgb(75, 110, 256)

But the key is: form1.backcolor. Use the menu editor to make a menu, then in the click event, change the form to the color specified.

Hi there,
I am working on an assignment that I have to create a menu.
The user is suppose to select the menu and change form color.
But I have no idea how to that. Help please. Anyone?

changing color it really easy

Form1.BackColor = vbBlack '// Black Color
Form1.BackColor = vbRed '// Red Color
Form1.BackColor = vbBlue '// Blue Color
Form1.BackColor = vbWhite '// White Color
Form1.BackColor = vbYellow '// Yellow Color
Form1.BackColor = vbGreen '// Green Color

and you can using QBColor, there are 16 colors in QBColor

Form1.BackColor = QBColor(0)  '// Black Color
Form1.BackColor = QBColor(1)
....
Form1.BackColor = QbColor(15)

you can also using RGB , because it have alot of color

Form1.BackColor = RGB(100,100,100)

Regard
Visal .In

Thank everyone, I finally got it working.

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.