Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent window from been deactivated?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00038701
Message ID:
00038741
Views:
40
>Just deactivating window
>by mouse click elsewhere. I want to prevent this behavior.

Hi Vlad,

What I do in such situations, when I want to prevent users from clicking
anywhere and still be able to click on toolbar.
I add programmatically a transparent container to the form, which covers ewerything I don't want the user to click on. (or, add it to the form through Form Designer, send it to back, and then just bring this container
in front of the form by thisform.MyContainer.ZOrder(0).
You may put your lookup grid into that container.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform