Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 1.43 KB

SetLBItemDashStyle.md

File metadata and controls

60 lines (50 loc) · 1.43 KB

SetLBItemDashStyle

Description

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

Parameters

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

Remarks

_c_ (2016.02.29): Expects a dash list index (not from the name list).

Examples

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')

Version

Availability: from VectorWorks 12.0

Category