Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exists one property or method hidden?
Message
 
 
To
13/07/2003 14:25:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809679
Message ID:
00809691
Views:
26
Hi Fabio,

There's no single command that will tell you that but you can use following UDF
*FUNCTION IsPropertyHidden
LPARAMETERS toObject, tcPropertyName 
RETURN PEMSTATUS(toObject, tcPropertyName,5) ;
		AND NOT PEMSTATUS(toObject, tcPropertyName,2) ;
		AND TYPE([GETPEM(toObject, "] + tcPropertyName + [")]) = "U"
>Hi,
>
>I can, with a single command to know if a method or a property exists but it is hidden.
>
>And with multiple command without trap ADDPROPERTY() 1734 error
>( trap errors is very very very ... slow ) ?
>
Hi Fabio,
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform