Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Hotkeys
Message
From
11/10/2010 15:19:24
 
 
To
11/10/2010 14:54:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01484785
Message ID:
01484790
Views:
58
Make FormB Modal.

>Is there any way to load up a form over another form using the onkey (hotkeys) and put it on the bottom of the stack?
>
>Basically, I have my cursor on an object and push say F7 which calls up the onkey to load in say FormB. The problem is FormB loads in at the same time the lost focus of the object I was last on is working. In this case, the lost focus code directs the cursor to another object on FormA when it is done, but the onkey has already pulled up FormB and FormB must be on top, so what I get is FormB on top with a grey title bar (because it is not currently active) and a lockedup situation because FormB is in front but the cursor is somewhere on FormA.
>
>Is there any way to call up FormB from onkey, but make it wait until it is done with the lostfocus of the object on FormA?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform