Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing colors in pages of page frames
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00111509
Message ID:
00111518
Vues:
15
>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<

There isn't a built in method or property for this. How about something like:

With thisform.pageframe1
for i = 1 to .pagecount
IF .pages(i).enabled=.f.
.pages(i).backcolor=rgb(255,0,0) && or whatever color
ELSE
** Set it to whatever default colour you wish
.pages(i).backcolor=rgb(192,192,192)
ENDIF
endfor
Endwith

called from where it is needed....

--
Jerry Ritcey
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform