Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Command Button color

Command Button color

Command Button color

Suddenly, every time I add a command button to a form, the top half and bottom half are different shades of the default or selected BackColor.

I also noticed the "Select Object" icon on the forms controls tollbar is also colored and shaded.

Very annoying.


RE: Command Button color

Several controls look different with themes on/off in general or just for themselves. But I also know tabs of page frames reacted to the general scaling factor of Windows icons, title bars etc. and that should be kept at 100%.

So is it one of these two factors? Otherwise, how does it look?

Bye, Olaf.

Olaf Doschke Software Engineering

RE: Command Button color

My first thought on reading this question was that the behaviour is caused by themes. Personally, I prefer to switch themes off throughout my applications, for example by putting _screen.Themes = .F. in my main program. But it's a matter of taste and aesthetics.


Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: Command Button color

Thanks guys.

Themes was the culprit.

I must have clicked it "ON" accidentally.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close