![]()
|
InstallShield 2008 ยป InstallScript Language Reference
The ListSetCurrentItem function assigns the value of nItem to the current element in a number list.
Note
The ListSetCurrentItem function works only with number lists.
ListSetCurrentItem ( listID, nItem );
| Parameter |
Description |
|---|---|
| listID |
Specifies the name of a number list whose current element is to be updated. The list identified by listID must already have been initialized by a call to ListCreate. |
| nItem |
Specifies the numeric value that will replace the current element. |
| Return Value |
Description |
|---|---|
| 0 |
Indicates that the function successfully updated the current element in a number list. |
| < 0 |
Indicates that the function was unable to update the current element in a number list. |
| END_OF_LIST (1) |
Indicates that the list is empty. |
| ISERR_LIST_NOSUCHLIST (-501) |
Indicates that a list with the specified ID does not exist. Valid list IDs are return values from the ListCreate function. |
See Also
|
|
Copyright Information | Contact Macrovision |