Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change the background color of the VFP Command bu
Message
De
19/01/1999 22:02:49
 
 
À
19/01/1999 21:56:25
Frank Su
NOVAtime Technology, Inc.
Monterey Park, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00177872
Message ID:
00177873
Vues:
69
>Does anyone know how to change the background color of the VFP Command button? Since the "Command Button" only have the ColorScheme and ColorSource properities, how to change to blue color?
>
Hi, Frank,

Actually you cannot change the back color of a command button. The color is determine by your window's color scheme.

There are several workarounds including (1) creating your own "commandbutton" based on the container class and (2) overlaying a command button with an image.

These have been discussed at length in this forum from time to time. Search for "commandbutton color" and I think you'll learn more than you ever wanted to know about the subject.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform