Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Labels
Message
 
À
27/04/1997 11:29:55
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Labels
Divers
Thread ID:
00029828
Message ID:
00029865
Vues:
24
>I have a form with a pageframe in it. The pageframe and all its objects are disabled until the user selects to edit. I disable the objects using the setall method. When I do, the labels all show in the disabled color. I want to keep the labels in the enabled color. I tried setting the disabled fore color to 0,0,0 (which is what I have for the enabled color) but the labels show up in a gray color. My back color is a slate blue. Any suggestions?
>Is there a way I can test for the type of object and use the WITH command for setting the enabled for example..
>
>WITH THISFORM.PAGEFRAME1
>IF object#Label
> ENABLED=.F.
>ENDIF
>ENDWITH

This.lockscreen = .t.
this.setall("enabled",.f.)
this.setall("enabled",.t.,"label")
this.lockscreen=.f.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform