Get the number of columnDataItems.
FUNCTION GetNumLBColumnDataItems(
dialogID : LONGINT;
componentID : LONGINT;
columnIndex : INTEGER): INTEGER;def vs.GetNumLBColumnDataItems(dialogID, componentID, columnIndex):
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 index of the column |
resultN := GetNumLBColumnDataItems(1, 2, 3);import vs
# Get the number of columnDataItems.
dialogID = 1
componentID = 2
columnIndex = 1
count = vs.GetNumLBColumnDataItems(dialogID, componentID, columnIndex)
vs.Message('GetNumLBColumnDataItems returned: ' + str(count))Availability: from VectorWorks11.0