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:
00596669
Views:
35
This message has been marked as a message which has helped to the initial question of the thread.
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?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform