Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple question about properties
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00521915
Message ID:
00521924
Views:
15
>>Hi everyone,
>>
>>How can I get an array of all object properties in VFP6.0? And only custom ones?
>>
>>Thanks in advance.
>
>
>* Get a list of all object properties into array
>lnCount = AMEMBERS(laFields, loObject)
>
>FOR lnI=1 TO lnCount
>	lcField = LOWER(laFields[lnI])
>
>        * Check if property is user defined
>	IF PEMStatus(loObject, lcField, 4)
>		* Yes it's user defined
>	ENDIF
>
>ENDFOR
>
Thanks, Sergey. I looked for aproperties instead...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform