|
-
Feb 15th, 2000, 04:49 PM
#1
Thread Starter
Hyperactive Member
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.
-
Feb 15th, 2000, 08:35 PM
#2
Frenzied Member
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
-
Feb 15th, 2000, 08:51 PM
#3
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
-
Feb 15th, 2000, 11:48 PM
#4
Frenzied Member
Azzmodan
I never knew you could do that with a checkbox!
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
|