Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top level form does not get the focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00627628
Message ID:
00627974
Views:
26
>Are You sure?
>
>Define two top lewel forms ( form_a and form_b )
>Each form with a menu.
>
>In form_a write some menu code.
>Something like this.
>
>define bar 2 of popup poppp prompt "Start form_b"
>on selection bar 2 of popup poppp do form form_b
>
>If You initiate the menu with the mouse, everything works as expected. Form_b wil start and get focus.
>If You initiate the menu with your keyboard, (pressing alt and so on ) You will see the difference. Form_b will start and get focus, but only for a short moment. Then form_a will regain focus. This is not as expected and it happpens only when You initiate the menu with the keyboard.
>
>I see this behavior both in VFP 6.0 and VFP 7.0 using top level forms. My operating system is Windows 2000 (norwegian)
>
Rolf,

I don't think I've ever used a menu in an SDI app. Most of my SDI apps, would be modal dialogs if run under a complete application, and would therefore use the VFP main screen.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform