Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color in a Commandbutton
Message
 
 
À
12/12/2000 11:20:32
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00452264
Message ID:
00452283
Vues:
38
>VFP 6.0
>
>I want to color the button itself (not the font). I like to set it to 64,128,128. How to do that? I see I have ColorScheme and ColorSource, but is that where I mess around with the colors for the button?
>
>Does that also a problem if I am using VFP base classes? I don't even know if I am doing that, but I think I am, since I am using the VFP as default...?
>
>Chuck

You can't set the background color of a VFP button. This are determined by the 3D Objects color setting in the OS. However, you can use the Commandbutton ActiveX control that comes with MS Forms. It should be installed as part of VFP.

You can also use these options, however, they don't have the exact functionality of a button (e.g. focus):
1. 3D Container with a label to emulate a button.
2. Picture button with a colored bitmap.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform