Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell if clicked outside of form
Message
De
16/05/2003 14:07:42
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
16/05/2003 13:44:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00789340
Message ID:
00789369
Vues:
26
Gregory,

I tried setting step on in the fakeform.DeActivate() event and it never gets there. The help says, "...Moving the focus to or from a form in another application doesn't trigger either [Activate or DeActivate] event."

Perhaps I should have mentioned that the form containing the listbox has a ShowWindow property set to "In Top-Level" and is also a modal form.

Fakeform.ShowWindow is set to "In Top-Level Form".

So the real situation is that I have a main form (called say, Mainform) that can then do another form (called say, AnotherForm) that is shown in Mainform and AnotherForm does Fakeform that is also shown in Mainform.

Does any of this shed some light on the situation? Do you think that my form settings is making VFP think that the forms are different applications?

Mike

>Mike,
>
>Doesn't the FakeForm.DeActivate() method fire when you click outside its boundary ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform