|
-
Sep 6th, 2000, 10:17 AM
#1
Thread Starter
Junior Member
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.
-
Sep 6th, 2000, 10:20 AM
#2
Lively Member
set the style property to graphical
-
Sep 6th, 2000, 10:24 AM
#3
Hyperactive Member
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
-
Sep 6th, 2000, 10:54 AM
#4
Thread Starter
Junior Member
Command Button
Thanks Bob. The style property has to be set to graphical. I did not see this before.
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
|