Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change color of a command button VFP 6
Message
 
 
À
18/09/2002 14:09:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00701941
Message ID:
00702121
Vues:
38
Herman,

You can use the ActiveX Forms CommandButton class. You can not change the color from the property sheet at design time. You can do it from the command window:

aselobj( lax )
lax[1].object.backcolor = 255

You can freely change it at runtime.

>I have been tring to find how to change the color of a command button but have not been sucessful. How do you change the color of a command button or can it be done.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform