Home > Available Help Files > PC-DMIS BASIC Language > Cypress Enable Scripting Language Elements > Dialog Support > The Dialog Function > The Dialog Function Syntax
Current Help File: PC-DMIS Basic (View Core Help)
The syntax for the dialog function is as follows:
Function FunctionName( ControlID$, Action%, SuppValue%)
Statement Block
FunctionName = ReturnValue
End Function
All parameters in the dialog function are required.
A dialog function returns a value when you choose a command button. Enable acts on the value returned. The default is to return 0 (zero) and close the dialog box. If a non zero is assigned the dialog box remains open. By keeping the dialog box open, the dialog function allows you to do more than one command from the same dialog box.
More: