Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the color of a command button 1

Status
Not open for further replies.

ciskris

Programmer
Jun 22, 2001
13
0
0
US
Is there anyway to change the color of a command button from the default gray color? I now you can change the background color of some controls but I haven't found anything for buttons.
 
Hi!

Go to this web site You will find a lot of free downloads including a database that will allow you to make changes to the looks of command buttons.

hth
Jeff Bridgham
 
ciskris,

Definitely take Lonnie's suggestion on the search of the forums. Some of us answered a similar question regarding pictures as buttons about an hour ago.

If what you want to do is have command buttons with different back colors, use rectangles instead.

A rectangle has a click event and can be set up to look like a command button by adjusting the special effect and border properties on the mouse up and down events.

Use a label on top of the rectangle for your caption and be sure to set the same click and mouse up/down events on the label.

HTH

John



 
Hey Gus!

I'm not sure what trouble you are having but I clicked on the URL you included in you post and my browser took right to the sight. Maybe it was offline for a while yesterday?

Jeff Bridgham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top