Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deactivate or LostFocus..?
Message
From
19/09/1997 09:39:59
 
 
To
10/09/1997 16:44:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00049393
Message ID:
00050707
Views:
42
>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform