|
Onetastic Macro Documentation >
>
>
DialogBox_SetControlValue DialogBox_SetControlValue
Sets the value of a control in a dialog box. This function can be called prior to displaying a dialog box via DialogBox_Show or during a dialog box event handler set by DialogBox_SetEventHandler.
Syntax
void DialogBox_SetControlValue(
DialogBox dialogBox,
String controlName,
Mixed value)
Parameters
- DialogBox dialogBox
- The dialog box that contains the control to set the value of.
- String controlName
- The name of the control to set the value of.
- Mixed value
- The new value for the control. The type depends on the control type: Bool for check box, Color for color picker, ]DateTime for date/time picker, and String for others.
|