General information
Category:
Forms & Form designer
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only