How to: Set Form Colors
You can control a form's colors by using the ColorSource Property to base the colors on an existing color scheme, or you can use the Color Palette toolbar to change the foreground or background color of your forms and the controls within them.
To set form colors using the ColorSource property
- On the Layout tab in the Properties window, choose ColorSource and select a value.
To set the foreground or background color of a form or control
From the View menu, select Color Palette toolbar.
Choose Foreground Color or Background Color.
Select the control or form you want to change.
In the Color Palette toolbar, select the color you want to use.
To see more color choices, choose Other Colors on the toolbar.
To create a custom color
In the Color Palette toolbar, choose Other Colors.
In the Color dialog box, choose Define Custom Colors to display the Custom Color Selector.
Select one of the Custom Colors boxes, and then click in the Custom Color Selector to select the custom color you want.
Choose Add to Custom Colors to add the new color to your palette.
Choose OK.
Visual FoxPro applies the custom color to the current selection.
See Also
Tasks
How to: Set the Design Area for a Form
Reference
BackColor, ForeColor Properties
Properties Window (Visual FoxPro)