Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access and Assign Methods
Message
De
11/01/2008 21:47:32
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Access and Assign Methods
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01281295
Message ID:
01281295
Vues:
53
Can someone put this in a more understandable way? It seems I needed to add an _Assign method in order to reference something on a form from the class, but I really don't understand why.
Access and Assign Methods

Visual FoxPro supports Access and Assign methods, which are user-defined procedures or functions that have the 
same name as a class property and have the suffix _ACCESS or _ASSIGN appended to the procedure or function 
name. You can use Access and Assign methods to execute code when querying the value of a property or 
attempting to change the property's value. Visual FoxPro executes Access and Assign methods only when querying 
or changing property values at run time, not design time. You can create Access and Assign methods separately 
and independently of each other. 
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform