Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter memvar
Message
De
19/10/1999 20:12:32
 
 
À
19/10/1999 14:41:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00278401
Message ID:
00278568
Vues:
13
>I'm converting a FoxProDOS 2.6 app to VFP6. I hoping to not rework all the Scatter/Gather code from the original, but I'm having trouble understanding the scope of the Scatter'ed "m.variables".
>
>If I Scatter in the Activate method of the form, m.vars that are bound to controls will persist even after the form is unloaded.
>
>On the other hand, m.vars that are not bound to a control don't persist outside the Activate method.
>
>What are the rules here?
>
>TIA, Adrian

Basically, there are two points about SCATTER/GATHER. Scatter to memvar is against OO-methodology. Scatter to object will give you truly OO-methodology, not like crippling controlsources.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform