AppCtrlScript

MAY Computer

Help

SHOWDIDIFORM

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Execution

See also  

RUNSCRIPT, ADDINCALL

This command is used to show interactive dialogs. It is similar to executing a VBS file with the RUNSCRIPT command, but in this case VB form files (*.frm) are interpreted dynamically. To get this to work a separate component (and package) called "DiDi" is used. This means that DiDi is required to be installed before you can use this command. The first subroutine that is processed is the Sub Form_Load of the specified form script file. The following additional objects are available in the form scripts:

Glob ... An instance of a wmGlob1.cGlob1 object.
ACScript ... The current application control script object instance.
SCR ... Current script variables (wmGlob1.cVarCol object).
Further available objects of used language extensions see language extension help.

Syntax

SHOWDIDIFORM [<FormFileOrFolder>][, <ShowModal>][, <TreeRootPath>]

Part

Description

<FormFileOrFolder> Full filename of the form script file to run. Can also be a folder and if so the user can choose one of the forms provided in that folder.
<ShowModal> 1|0; Flag if dialog should be displayed modal. If 1 then dialog is displayed modal which is the best decision if you need the form data for further processing in your calling script. Default is 1.
<TreeRootPath> Optional different treeroot path (where the user can choose forms). If missing default from DiDi applies.