Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deactivate or LostFocus..?
Message
De
19/09/1997 09:39:59
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
 
À
10/09/1997 16:44:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00049393
Message ID:
00050707
Vues:
47
>>>>Does anyone know how to make a form deny "losing focus" to another form? I tried returning .F. or using NODEFAULT in the Deactivate and/or LostFocus events, but this didn't help! Any ideas?
>>>>
>>>>Thx. in advance,
>>>>Gino Miceli
>>>
>>>could you make the form modal? or would your app support that?
>>>also if you're trying to stop the form from unloading you can return false from the query unload event.
>>
>>That would work, except I'm using a toolbar, so making the form modal would make my toolbar inaccessible. The form stays open when other forms are clicked. Any more ideas? : )
>
>What about This.Show() in Form.Deactivate event.


Good idea..unfortunately that has the effect of allowing events to be sent the other form (clicking a button on it, for example), and then returns to the correct form.. I suppose I could use my original method that sets Enabled to FALSE for all other forms on the screen..seems like overkill though
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform