Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Nov 16, 1999

Changing the Color of Command Buttons

Question:
Is there a way to make command buttons appear in the color I choose, rather than the color selected in Windows > Display Properties > Appearance > 3DObjects?

Command buttons have no BackColor property and the documentation says that colors for some items, such as system menus, cannot be changed. Is that true of CommandButtons? I hope not; I don't like "clashing" buttons—and they don't look very professional on a distributed app.

Answer:
The background color of command buttons in Windows is determined by the Windows Color Scheme. Visual FoxPro therefore does not allow the color to be changed.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date