Sets the specified list browser item's dash style.
FUNCTION SetLBItemDashStyle(
dialogID : LONGINT;
componentID : LONGINT;
itemIndex : INTEGER;
subItemIndex : INTEGER;
styleIndex : INTEGER;
lineWeight : INTEGER): BOOLEAN;def vs.SetLBItemDashStyle(dialogID, componentID, itemIndex, subItemIndex, styleIndex, lineWeight):
return BOOLEAN| 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 |
_c_ (2016.02.29): Expects a dash list index (not from the name list).
resultOK := SetLBItemDashStyle(1, 2, 3, 10, 5, 1);import vs
# Sets the specified list browser item's dash style.
dialogID = 1
componentID = 2
itemIndex = 1
subItemIndex = 1
styleIndex = 1
lineWeight = 3
ok = vs.SetLBItemDashStyle(dialogID, componentID, itemIndex, subItemIndex, styleIndex, lineWeight)
if ok:
vs.Message('SetLBItemDashStyle succeeded')
else:
vs.Message('SetLBItemDashStyle failed')Availability: from VectorWorks 12.0