Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating one form from another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00205057
Message ID:
00205164
Vues:
19
>>Well the code you have after the DO FORM is obviously bringing focus back, especially something like a SetFocus() call will. Since the other form is modeless too why not just move the DO FORM to the end? It shouldn't really matter in the overall scheme.
>
>Well it's not really a call from a button, but from a continer object with a text field. The user inputs a value and hits TAB to leave the field. Then the containers' lostfocus method calls a valid method which launches this other form. The lostfocus then continues after the valid and the focus is set to the next field on the form. This is probably why the focus shifts back to the first form. How should I attack this problem?<

I think this calls for a modal form to be called because the outcome of the childform will decide if the value in your field in the parent form is good or not.
Peter
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform