Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 702 Bytes

File metadata and controls

31 lines (25 loc) · 702 Bytes

GetChoiceIndex

Description

Finds the index of the given string in a layout manager list box or pull down menu. The index is zero based and is set to -1 if the item is not found.

PROCEDURE GetChoiceIndex(
				dialogID      : LONGINT;
				componentID   : LONGINT;
				itemText      : STRING;
				VAR itemIndex : INTEGER);
def vs.GetChoiceIndex(dialogID, componentID, itemText):
    return itemIndex

Parameters

Name Type Description
dialogID LONGINT
componentID LONGINT
itemText STRING
itemIndex INTEGER

Version

Availability: from Vectorworks 2012

Category