Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When for custom Controls
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00596595
Message ID:
00596674
Views:
35
Thanks Vlad I try that.

>Do not call message box. Or cal it from the Click event only.
>
>Ideally, if this is a single component, just call When method of the custom control from GotFocus event of each control inside and use nodefault when failed.
>
>>I've managed to use a combination of these ideas so that a When method sets the internal llAccessible and my code checks that before running anything.
>>
>>By the way a custom control does not have the SetAll method.
>>
>>This has thrown up another problem :)
>>
>>When the user click on the right commandbutton the Control's GotFocus is run (calling the When) the CommandButtons GotFocus is then called. However when a MessageBox is activated this seems to prevent the CommandButtons Click from being called.
>>Any ideas?
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform