Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Hotkeys
Message
De
11/10/2010 15:59:44
 
 
À
11/10/2010 15:54:02
Kevin Hickman
The Cadle Company
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01484785
Message ID:
01484799
Vues:
43
Ahh.. I see what's happening. You should provide a flag. Before the call to FormB, set a flag that says, "Another form is opening". In the LostFocus, if the flag is set, don't go to the other object on FormA. When FormB closes, clear the flag.


>FormB is modal
>
>>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
>Software craftsman
>MCSD, Microsoft Visual C# MVP, INETA Community Speaker
>Twitter: @craigber
>Read my blog
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform