Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form lost focus and die
Message
From
03/03/2003 16:53:02
 
 
To
03/03/2003 16:24:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00760474
Message ID:
00760547
Views:
19
> I simulated that in Visual FoxPro and it works ok.

Do you have VFP6 sp5?
Maybe it's fixed in VFP 7.

Michael, may you take a look at my source codes? I mean this example sources(with 2 forms). I can email it for you.

>How are you launching that form?

Run form (Ctrl+E) from main menu.

> Are you using DO FORM Form1?

Just tried. Same result : Form1 is activated, Form2 still visible but does not responding to mouse clicks. I can close FoxPro only thru Task Manager.

> Are you also talking about an EXE or directly from the command prompt?

I have a same problem in compiled program (exe).

> I would also not suggest such an approach...

Michael, my situation is :
1) I have a big project with many OCXs that controls a real (real-time) devices.
2) On events of that OCXs a have a huge complicated codes. Sometimes that code can call SetFocus() method.
3) Sometimes the program displays a modal window (dialog). If that time SetFocus() method called - I have a problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform