Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Protect/Hide a method programically
Message
From
21/07/2002 22:16:37
 
 
To
21/07/2002 19:42:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00680959
Message ID:
00680981
Views:
17
>Is there any way to programically protect or hide a method.

As per the help for DEFINE CLASS...
[[PROTECTED | HIDDEN] FUNCTION | PROCEDURE Name[_ACCESS |_ASSIGN]
For example,
DEFINE CLASS MyClass AS CUSTOM
PROTECTED FUNCTION MyMethod
ENDFUNC
ENDDEFINE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform