Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the Command Button background
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00346739
Message ID:
00347495
Vues:
24
>>>>Unfortunately, in VFP 6.0 SP3 you can't set its Backcolor property from the dialog. You can, however, set it in the control's Init method. Just do the following:
>>>>
>>>>_CLIPTEXT = TRANSFORM(GetColor())
>>>>
>>>>and paste it in the Init.
>>>
>>>
>>>George, how does this work? There is no BackColor property to reference in the Init method.
>>
>>Fred, the MS Forms 2.0 Command Button has a BackColor property you can reference. The standard VFP button does not. Or do I misunderstand?
>
>OIC, I thought you were referencing the STANDARD CommandButton. My bad.

No prob, Fred. If anyone's interested in why I didn't post this sooner, I simply don't believe in changing the background color of a command button. If youu want it to stand out, drop a bitmap on it that's appropriate. At least that's how I feel.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform