Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form lost focus and die
Message
De
04/03/2003 12:25:31
 
 
À
04/03/2003 12:14:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00760474
Message ID:
00761007
Vues:
29
>
>Yesterday I wrote about it :
>---

I slept since then :)

>I have fixed it by very stupid way : I have put a "ThisForm.SetFocus" instruction into Deactivate method of every modal window that can be called from the Process screen. It worked well until we have translated our product to another languages. We have used INTL toolkit. Here the problem : INTL use modal forms instead standard MessageBoxes. So, it does not work together with my dirty patches.
>---
>
>Also if you try to show form3 (modal) from form2 - you will have a problem again.

Oh, of course that would be a problem.

How about something like:
* timer() method
if _screen.activeform.windowtype = 0
	ThisForm.Command1.SetFocus()
endif
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform