-
Thanks karun for your information.
The color of the button can be changed by:
Command1.BackColor = &H000000FF&
The text color of the button is still black and VB5 is still not happy with:
Command1.ForeColor = &H00FFFFFF&
Please can you give a solution?
Michelle.
-
The text on command buttons uses the system 3D Objects settings so you can't easily change it just for your app.
(I expect someone will suggest otherwise though!)
What you could do though, is use a picture on your command button with the lettering in your desired font and colour.
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
-
Use a check/option box, with its style set to graphical, this gives it the same appearance as a command button, but you can set the forecolor on it. De-check it in the control_click, so it wont look like it is pressed.
Hope it helps.
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl
-
Azzmodan
I never knew you could do that with a checkbox!