Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.33 KB

File metadata and controls

43 lines (35 loc) · 1.33 KB

InsertLBColumnDataItem

Description

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

Parameters

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

Remarks

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.

Examples

ComplexDialogLayout4

Version

Availability: from VectorWorks11.0

Category