Insert an item into the specified list browser control. Returns the index of the created item.
FUNCTION InsertLBItem(
dialogID : LONGINT;
componentID : LONGINT;
itemIndex : INTEGER;
itemString : STRING): INTEGER;def vs.InsertLBItem(dialogID, componentID, itemIndex, itemString):
return INTEGER| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | id of the dialog that contains the list browser |
| componentID | LONGINT | id of the list browser control |
| itemIndex | INTEGER | index at which the item is to be inserted |
| itemString | STRING | text to set for item |
Availability: from VectorWorks11.0