BackColor to mach "Menu Bar"

K

Kevin

Does anyone know the RGB value for the .BackColor control that would match "Menu Bar"? I want to have a textbox display a value (e.g., "10") but I also want it to appear as if the this is a default. I'm using the following code
TextBox2.Enabled = Fals
TextBox2.SpecialEffect =
TextBox2.BackColor = RGB(195, 195, 195

But these RGB values don't exactly match what I'm looking for. The System default "Menu Bar" (&H80000004&) is what I'm looking for

Is there an easier way to accomplish this

Thanks

Kevin
 
H

Harold

try this
TextBox2.BackColor = &H80000004
Regards

--
Harold Kless, MCSD
Support Professional
Microsoft Technical Support for Business Applications
(e-mail address removed)

Kevin said:
Does anyone know the RGB value for the .BackColor control that would match
"Menu Bar"? I want to have a textbox display a value (e.g., "10") but I
also want it to appear as if the this is a default. I'm using the following
code.
TextBox2.Enabled = False
TextBox2.SpecialEffect = 0
TextBox2.BackColor = RGB(195, 195, 195)

But these RGB values don't exactly match what I'm looking for. The System
default "Menu Bar" (&H80000004&) is what I'm looking for.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top