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

Related Script Commands

DialogBox IconBar, DialogBox Show, DialogBox Window