Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabling & disabling Fields
Message
De
13/11/1999 03:46:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00289652
Message ID:
00290880
Vues:
19
>I have a Form with multiple pageframes. When the Edit button is clicked, what is a good way to enable all of the fields on all of the frames. Then when the OK button is clicked how can disable all of the fields, without disabling the pageframe control? Do I have to do it manually field by field? Not only is that cumbersome, but leaves room for mistakes later on. There must be a better way. Any help greatly appreciated. Thanks!


There is better way but is little bit more complex, you can scan all object on the form throughout nested containers (container within pageframe etc. kind of story) and enable/disable while in edit/browse (if that is what you want). I have
method something like MyForm.All_Controls_enabled(Thisform,.t.) which is part
of navigation class. I can send you more details as soon as I seat at my own
computer (I am at my wife's office )
good luck
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform