Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement