Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form loses focus
Message
From
24/02/1997 08:29:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Modal form loses focus
Miscellaneous
Thread ID:
00021756
Message ID:
00021756
Views:
82
I have a VFP 5.0 application using only top level forms with SCREEN set to off. I have a top level, modeless form, Form1, with a menu instantiated in it. From the menu I call a top level, modal form, Form2. From Form2 I can call a third top level, modal form, Form3, from one of two buttons. One button calls Form3 to insert a new record into a table after the user has entered data. The second button calls Form3 to edit existing data in the table. The only difference in the call is in setup code in the INIT of Form3. When Form3 is called to edit data everything looks fine. When Form3 is called to insert a new record, Form3 appears briefly, then Form2 regains the focus over Form3. I thought a modal form retained focus until released or until it spawned another modal form. All forms have ALWAYSONTOP set to .F.. What am I missing here?

Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Next
Reply
Map
View

Click here to load this message in the networking platform