Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing colors in pages of page frames
Message
De
25/06/1998 09:23:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00111509
Message ID:
00111528
Vues:
14
>>>Is there any way VFP 5.0 will allow me to change a pages color when it is activated/deactivated?
>>>Thanks for any help.
>>>
>>>John Ingalls
>>
>>***Page.Activate event
>>
>>if this.backcolor=65280
>> this.backcolor=0
>>else
>> this.backcolor=65280
>>endif
>>this.refresh
>>
>Thanks for the quick response. I'll try it out and let you know how it works for me.
>John I

It was just a quick example to show you how to change backolor in run-time. Surely, you will make it more sophisticated, adding e.g. similar code to Page.deactivate event.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform