How to Change Color of Push Buttons in FoxPro for WindowsLast reviewed: April 29, 1996Article ID: Q106702 |
The information in this article applies to:
SUMMARYIn Visual FoxPro, the color of the text on a button is controlled by the ForeColor property of a Command Button. In FoxPro 2.x, the color of a "normal" push button containing only text cannot be changed in Microsoft FoxPro for Windows. However, you can place a bitmap picture containing just text on the face of a "picture" push button; the text and background of the bitmap can be any color.
MORE INFORMATIONNOTE: The following only applies to FoxPro 2.x for Windows. The FoxPro for Windows Screen Builder allows the creation of three types of push buttons: Normal, Invisible, and Picture. A Normal type push button takes on the color scheme used by the push buttons in all Windows-based applications (as defined in the Windows Control Panel) because, according to the common user interface standard, Windows-based applications should "look and feel" the same regardless of the application. To use a push button in FoxPro that is a color other than the Windows default, do the following:
REFERENCEFoxPro for Windows, "User's Guide," version 2.5, pages U11-23 to U11-51
|
Additional reference words: FoxWin VFoxWin 2.50 2.50a 2.50b 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |