-
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.
-
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).]
-
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.