Gets the specified list browser item's dash style.
FUNCTION GetLBItemDashStyle(
dialogID : LONGINT;
componentID : LONGINT;
itemIndex : INTEGER;
subItemIndex : INTEGER;
VAR styleIndex : INTEGER;
VAR lineWeight : INTEGER): BOOLEAN;def vs.GetLBItemDashStyle(dialogID, componentID, itemIndex, subItemIndex):
return (BOOLEAN, styleIndex, lineWeight)| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | id of the dialog that contains the list browser |
| componentID | LONGINT | id of the list browser control |
| itemIndex | INTEGER | the row index |
| subItemIndex | INTEGER | the column index |
| styleIndex | INTEGER | the dash line's style index |
| lineWeight | INTEGER | the dash line's line weight |
resultOK := GetLBItemDashStyle(1, 2, 3, 10, 5, 1);import vs
# Gets the specified list browser item's dash style.
dialogID = 1
componentID = 2
itemIndex = 1
subItemIndex = 1
ok, styleIndex, lineWeight = vs.GetLBItemDashStyle(dialogID, componentID, itemIndex, subItemIndex)
vs.Message('GetLBItemDashStyle returned: ' + str((ok, styleIndex, lineWeight)))Availability: from VectorWorks12.0