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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VisualBasic

Status
Not open for further replies.

jyotsna24

Programmer
Jun 24, 2001
15
IN
Can we colour(both fg&bg) the command button?How to write click event?
 
To color them just set their FG and BG in the properties window, in code its name.backcolor. To writea click event double click the button in the object view.
 
Before setting the backcolor, make sure to set the style to graphical. Also, you cant (easily) change the forecolor. The only way i know is using a bunch of api calls.
Dragnut
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top