Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Focus to a form
Message
From
15/07/2000 22:24:40
 
 
To
13/07/2000 15:17:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00391496
Message ID:
00392975
Views:
9

What if you put "The Box Form" and the "Data Form" in a FormSet?

Dave



>Hello,
>
>It all start with tring to find a way to create GLOBAL hot keys. Global being that even if the application is minimized and another app has focus the hot keys would work. I could not find anyway to do that in VFP, so I came with this idea.
>
>The "small box" is a Desktop form the is always on top with tiltle bar off. The main idea was you sweep your mouse over the "box" a data form is started (DO FORM) in the mouseover event, then press the hot key combo and it would perform some database functions. When the "box" has focus all works as I expected, however if some other application has focus and I swipe my mouse over the box the data form pops open but the hot keys do not work. I figured this out to be because the window although it pops up does get focus, therefore the hot keys do not function. If you click on the now open form the form gets focus and the hot keys work.
>
>I have tried setfocus to a field on the form, activate, show(), mouse click, read events, and countless other,even disable and enabling the form. I have run out of ideas.
>
>Any help yo could give would be great.
>
>Rich Imbruglio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform