Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SAVING FORM STATUS
Message
De
27/04/2000 14:18:38
 
 
À
27/04/2000 11:42:43
Pamela Bulmahn
The University of Iowa
Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00364123
Message ID:
00364209
Vues:
19
>I have a very busy form with some object enabled, some disabled, some visible, some invisible, ect.. If the user clicks on a button, I want to disable everything that is enabled, perform that particular method and return to the previous state. What is available which lets me do this (kind of like to 2.6 SAVE SCREEN, RESTORE SCREEN commands)?

You can loop through Form.Controls collection (checking containers too) and populate some form custom property-array with current values of 'Enabled' properties. So, you will do it twice: to collect values and to bring them back to properties. Do it once, save it as Custom object method, and use it for any form.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform