OBJVAR( ) Function
| Visual FoxPro 9.0 SP2 |
| OBJVAR( ) Function |
| See Also |
|
Included for backward compatibility. Use the Name Property (Visual FoxPro) for controls instead.
This function is undocumented in the original VFP9 help file,
but the following documentation was found in the FoxPro for Windows 2.6 help, and may still be valid:
Returns the name of the memory variable, array element or field associated with an object.
OBJVAR([expN1> [, expN2]]) |
Parameters
expN1If expN1 is omitted, OBJVAR() returns the memory variable, array element or field for the currently active object. _CUROBJ can be used to determine the currently active object.
Include expN1 to return the memory variable, array element or field for a specific object. expN1 corresponds to the order in which the objects are created. For example, specify 1 for expN1 to return the memory variable, array element or field for the first object, 2 for the second object and so on.
OBJVAR() returns the null string if expN1 is greater than the number of objects.
expN2
Nested READs are created by issuing @ ... GETs and a READ in a routine called during a READ. READs can be nested to five levels. To return memory variable and array element names for objects at a read level other than the current read level, include the optional read level number expN2. If expN2 is omitted, OBJVAR() returns memory variable and array element names for objects at the current read level.
Return Value
Remarks
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic

Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08