Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UnBindEvent (Default Behavior)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00878436
Message ID:
00878452
Views:
21
Troy,

You cannot unbind the native behavior.

>How can I unbind the default behavior of a control at runtime?
>I see how to bind and unbind delegates, but I am trying to build a security object that can be placed on a form that will unbind the native behavior (such as the click on a button) if the user has no rights to that event. I would have suspected that:
>
>unbindevent(thisform.button1,'click',thisform.button1,'click')
>
>would have done that, but this command is ignored.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform