|
-
Feb 15th, 2000, 03:57 PM
#1
Thread Starter
Hyperactive Member
Dear VB users,
I searched for the property to change the color of the command button and the text on the button.
Command1.BackColor = &H000000FF&
No effect!
Command1.ForeColor = &HH00000FF&
Gives an error message: Method or data member not found
Can someone tell me what I do wrong?
What are the right properties?
Thanks a lot,
Michelle.
-
Feb 15th, 2000, 04:16 PM
#2
Member
Hai,
In the command button properties you please change the style property to Graphical.
Then you can change all the color properties.
thanks
karun
[This message has been edited by karunakaran (edited 02-16-2000).]
-
Feb 16th, 2000, 06:28 AM
#3
Addicted Member
Unfortunately, even after you change it to a graphical button there is still no forecolor property MS blew this one. Some suggestions have been to use a check box as a button (check the style property) but there some wierd issues you have to work around to make it work like a command button.
I'm currently using a 3rd party button to get colored text.
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
|