Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to know if there is code in a method?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00209284
Message ID:
00209303
Views:
22
>I am working on a base class that is used to create forms that works with data.
>I created a blank method that is used in the created forms as a hook to execute code.
>It would be very usefull to know, at runtime, if some code has been added in the form using this class.
>Is it possible?
>
>Thanks
>Eric.

Eric,

Design your hook methods so that a return of .T. says everything is OK. .T. is the default return when there is no code at all.
Previous
Reply
Map
View

Click here to load this message in the networking platform