Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

9.6.1 Invoking Sub-Windows

There are two ways of invoking child forms: using the OpenForm method and using the CallForm method.

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".