-
For some reason I am unable to change the appearance of my command buttons either throught the properties window or in code.
I can change the textboxes back color for instance but am unable to change the back color of any command button or assign a graphic to it's picture property. I only can display the plain gray button.
I am using VB 6.0 with SP3.
Any ideas how to correct this?
Thanks.
-
set the style property to graphical
-
First, you can't change the backcolor of the command button. Sorry. Second, with the picture, go to properties, set it to graphical, and change the picture option to your picture. If you want to go really pretty with this button, use a picture box. It has a click event, too, so it can look how you want it to. Also, you can switch between pictures on it using the mousedown event, so it will display a normal button picture, then on mousedown, it programmatically switches to a down button picture (if you draw it and want to).
bob
-
Command Button
Thanks Bob. The style property has to be set to graphical. I did not see this before.