Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top Level Form loses focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01407894
Message ID:
01408041
Views:
89
>>I created a top level form to sit off to to the side of a modal form. The top level form has controls to adjust the layout of the modal form. All of this works really great. The problem comes up when you click on the modal form and, for example type in some text. After that, the only way you can get to the controls on the top level form is by clicking on the Title Bar first. Kind of awkward and not intuitive for the user. Is there anyway to get around having to click on the title bar first?
>
>Try to set Desktop=.T.

Sergey,
It didn't work. I tried changing the main form to modless but it didn't work. If you click on the main form the focus is set to the main form and off the modless form and you have to click on the title bar or on the tab on the bottom windows bar to set focus back to the form.

I put some code in the main form so if the user hits the button to launch the modless form it sets focus to it. I could put code in the mousemove event in the main form so if the mouse passes over any non-object part of the form the modless form would get focus but there would still be times the user could hit the modless form without hitting that code.

Any ideas anyone?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform