InstallShield 2019 ยป InstallScript Language Reference
The CtrlClear function clears the contents of various controls; it deletes the contents of a single- or multi-line edit field, static text field, single- or multi-selection list box, or the edit field of a combo box in a custom dialog.
Syntax
CtrlClear ( szDialogName, nControlID );
Parameters
| Parameter | Description | 
| szDialogName | Specifies the name of the dialog that contains the control to be deleted. | 
| nControlID | Specifies the control ID of the dialog identified by szDialogName. | 
Return Values
| Return Value | Description | 
| 0 | CtrlClear successfully deleted the contents of the specified control. | 
| < 0 | CtrlClear was unable to delete the contents of the dialog. | 
See Also
| InstallShield 2019 Help LibraryApril 2019 | Copyright Information | Flexera |