DialogBox InitCommand
This command attaches a command to be run when a dialog box displays.
Syntax
DialogBox InitCommand [name], command
Synonyms
DB IC
Parameters
The following table describes the parameters of the DialogBox InitCommand command:
| Parameter | Description |
|---|---|
| command | The wIntegrate script command to run |
Examples
The following example
is part of the STRING.WIS demonstration program.
InitCommand "Script 'example\script\dostring'"
ControlCommand OK, "Script 'example\script\dostring'"
ControlCommand CANCEL, "DialogBox End StringTest,FALSE"
EndCreateRelated Script Commands
DialogBox IconBar, DialogBox Show, DialogBox Window