Changing the Color of Command Buttons

Changing the Color of Command Buttons

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.

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.


About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist