Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form lost focus and die
Message
De
03/03/2003 19:08:20
 
 
À
03/03/2003 18:56:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00760474
Message ID:
00760639
Vues:
20
>> Now, if I get a chance, I will be trying this at home in VB...
>
>I'm pretty sure it will work.
>
>> Maybe the bug is in Delphi? *grin*
>
>Exactly! And in VB too! and in VC++. And ... everywhere. Only FoxPro is a one true language!
>I assume it was just a joke.

Actually, I was joking when I originally wrote it. But after doing some looking on MSDN, the definitions I've seen of a modal forms (VB, and C++) indicates that focus cannot go to another form until the modal form is closed, unless the form is a child of the modal form (which means it is modal, too).

So, I'm not so sure it will work in VB or C++. If you do try it in VB or C++, please let me know the results.

According to Michel, this has not changed in VFP8. The form is still treated as being truly modal.

My goal is not to prove you wrong here. You posted an interesting situation, and I saw it as a chance to learn something, and hopefully help you in the process.

I need to head out of here...I hope you find a way to solve your problem.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform