Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent control from getting focus due to rightclick
Message
 
To
06/05/2002 17:00:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00653252
Message ID:
00653273
Views:
19
Hi Steve,

>You probably will have to set the focus back to the control that had focus previously. You can add a property to the form (call it oCurrentControl, for example). Or, better yet, add it to your form class. In your custom control classes, in the gotfocus() method, you could put something like:

thanks for your reply. I hoped to get around that, but this seems to be the only solution until now. I thought, maybe someone comes up with an API call that can check for a pressed mouse button or something else.

Thanks again,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform