Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access and Assign Methods
Message
From
11/01/2008 21:47:32
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Access and Assign Methods
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01281295
Message ID:
01281295
Views:
51
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. 
Next
Reply
Map
View

Click here to load this message in the networking platform