Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How we change the Background Color of Command Button
Message
 
 
À
05/03/2003 22:24:41
Devrishi Bhogra
Escorts Claas Limited
Faridabad, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00757931
Message ID:
00761988
Vues:
31
Sunny,

>Are u suggesting me to create AxitveX buttons on my own ? Please shed more light on MS ActiveX buttons.

Nope, I'm suggesting that you use the ActiveX Forms controls that ship with VFP. When you choose Insert Control select the item named Microsoft Forms 2,0 CommandButton.

You can not use the property sheet to edit the backcolor, but you can do it at design time like this from the command window with the button selected:
aselobj( laButton )
labutton[1].object.BackColor = 255
or at runtime with
thisform.cmdMyButton.object.BackColor = 255
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