CtrlGetMLEText
InstallShield 2022 ยป InstallScript Language Reference
The CtrlGetMLEText function retrieves the contents of a multi-line edit field control in a custom dialog. InstallShield places each line of the multi-line edit field into a string list identified by listID. Call CtrlGetText to retrieve the contents of a single-line edit field control.
Syntax
CtrlGetMLEText ( szDialogName, nControlID, listID );
Parameters
|
Parameter |
Description |
|
szDialogName |
Specifies the name of a custom dialog that contains the multi-line edit control whose contents are to be retrieved. |
|
nControlID |
Specifies the resource ID of the multi-line edit control. |
|
listID |
Returns a string list of the lines in the edit field identified by nControlID. The string list identified by listID must already have been initialized by a call to ListCreate. |
Return Values
|
Return Value |
Description |
|
0 |
CtrlGetMLEText successfully retrieved the contents of a multi-line edit field. |
|
< 0 |
CtrlGetMLEText was unable to retrieve the contents of the control. |
See Also