Inserts column data item with specified data. Returns the index to the newly inserted item.
FUNCTION InsertLBColumnDataItem(
dialogID : LONGINT;
componentID : LONGINT;
columnIndex : INTEGER;
itemString : STRING;
imageOn : INTEGER;
imageOff : INTEGER;
itemData : LONGINT): INTEGER;def vs.InsertLBColumnDataItem(dialogID, componentID, columnIndex, itemString, imageOn, imageOff, itemData):
return INTEGER| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | id of the dialog that contains the list browser |
| componentID | LONGINT | id of the list browser control |
| columnIndex | INTEGER | the column for which to set the data |
| itemString | STRING | the item text |
| imageOn | INTEGER | the 'on' image list index |
| imageOff | INTEGER | the 'off' image list index |
| itemData | LONGINT | the item user data |
VW2011: It seems to be impossible to fill in a column with the same value with InsertLBColumnDataItem. If you need it, you can use [http://developer.vectorworks.net/index.php?title=VS:SetLBItemInfo SetLBItemInfo] instead.
Availability: from VectorWorks11.0