Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form lost focus and die
Message
De
03/03/2003 16:53:02
 
 
À
03/03/2003 16:24:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00760474
Message ID:
00760547
Vues:
18
> 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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform