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

Colorfull Command-Buttons

Status
Not open for further replies.

Hannes214

IS-IT--Management
Jan 30, 2006
45
DE
Hi

does someone know, how to color a CommanButton in with FoxPro6 ???

IT-Management
( an FoxPro-Newbi :eek:) )
 

You're out of luck. The ability to change the Backcolor was introduced in VFP 8.0.

The official answer is that you should leave it to the users to decide their preferred colours, which they do in Control Panel.

An alternative is to make the caption into a graphic, and to use this for the button's Picture property. The graphic can then have any colours you like.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top