There are two ways of invoking child forms: using the OpenForm method and using the CallForm method.
OpenForm opens the child form as a modeless window i.e. you can interact with the parent window as well as the child window.
CallForm brings up the child form as a modal window i.e. you cannot interact with the parent window until the child window is closed. You use modal windows when displaying dialog boxes, in which you require user input before you can proceed with the next function.
The methods are invoked in identical ways, apart from the method name. For example, to open SUBFORM1 contained in the same executable you code:
INVOKE POW-SELF "OpenForm" USING "SUBFORM1".
or
INVOKE POW-SELF "CallForm" USING "SUBDLG1".
To open SUBFORM2, contained in another DLL, SUB.DLL for example, you code:
INVOKE POW-SELF "OpenForm" USING "SUBFORM2" "SUB.DLL".
or
INVOKE POW-SELF "CallForm" USING "SUBDLG2" "SUB.DLL".