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:
00521920
Views:
21
This message has been marked as the solution to the initial question of the thread.
>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform