Information générale
Catégorie:
Gestionnaire d'écran & Écrans
If you are asking how do I make sure another form is open to do something try
LOCAL i
FOR i = 1 TO _Screen.FormCount
IF _Screen.Forms(i).Name = 'frmName'
_Screen.Forms(i).DoMySpecialMethod()
EXIT && we found it, no more reasons to continue loop
ENDIF
ENDFOR
John
>Hi all,
>
>What is the best way to move focus to another form by coding? My application usually has multiple forms opened at the same time. Moreover I sometimes have to call a function from another form while working in another. How to refer to a form that is not in the focus?
>
>Thanks in advance.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement