How to Specify Screen Object Colors in FoxPro for Windows

ID: Q101055

2.5x 2.6x 3.00 WINDOWS kbprg

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6x

In FoxPro for MS-DOS, you can use the Color command on the Screen menu to specify colors for screen objects. However, this command is not available in FoxPro for Windows.

FoxPro 2.x for Windows

To specify colors in FoxPro 2.x for Windows, select the screen object or a group of objects. To modify the background color of the object(s), choose Fill Color from the Object menu. To modify the outline and text of the object(s), choose Pen Color from the Object menu.

NOTE: The Automatic setting will match the Windows color sets from the Control Panel.

To change the background of the entire screen, choose Layout from the Screen menu, and choose the Color button. You can either select a specific color or select a wallpaper pattern by choosing the Wallpaper button and specifying a .BMP file.

Visual FoxPro for Windows

To set the foreground or background color of a control in Visual FoxPro for Windows:

1. From the View menu, choose Toolbars and select Color Palette. 2. Choose the Foreground Color button or the Background Color button. 3. Select the control you want to change. 4. In the Color Palette toolbar, select the color you want to use. 5. To see more color choices, choose Other Color.

Additional reference words: VFoxWin FoxWin 2.50 2.50a 2.50b 2.60 2.60a 3.00 SCREEN BUILDER COLOR BMP field KBCategory: kbprg KBSubcategory: FxtoolSbuilder

Keywords          : FxtoolSbuilder 
Version           : 2.5x 2.6x 3.00
Platform          : WINDOWS


Last Reviewed: April 30, 1996
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.