Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form lost focus and die
Message
De
03/03/2003 19:13:37
 
 
À
03/03/2003 18:35:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00760474
Message ID:
00760641
Vues:
15
> Well, to fix it can be done, once you find the proper way to do it

It does not work anymore. :-((

>I assume that as you want to make it modal.

Yes, I do.

>Or, if this is the same in more than one form, then, you will only have to
>change the base class for the adjustment. I assume all of your forms sit
>on a base class form.

Sure they are.

But the my dirty solution does not work anymore. We begin to use the INTL tool, that has a modal windows instead MessageBoxes. Now if I show a MessageBox from a modal form, the modal form lost focus and try to return it back. MessageBox, as modal form, doing the same. Finish!

I can try to find patch to my patch. But, you know the "patch rule", a?
The "Patch rule" says that "dirty path" works only in first generation. Patch on patch never works. It produce more questions then answers.

So, my patch does not work anymore. I need something else.

> As I said, never, IMHO, a form should remain on screen with a modal
> status if the control is being given to another form. Modal is modal.

Indeed!

> So, if you wish a form to remain on screen and gave control to another
> form, remove modal from the related form.

Actually, no.
Modal form must keep the focus, SetFocus instuction must be skipped (Like it works in any another languge).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform