Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if clicked outside of form
Message
From
16/05/2003 14:07:42
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
16/05/2003 13:44:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00789340
Message ID:
00789369
Views:
24
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 ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform