Using the index, gets the text of the menu item of the given component.
PROCEDURE GetChoiceText(
dialogID : LONGINT;
componentID : LONGINT;
itemIndex : INTEGER;
VAR itemText : STRING);def vs.GetChoiceText(dialogID, componentID, itemIndex):
return itemText| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | The dialog identifier given by CreateLayout or CreateResizableLayout |
| componentID | LONGINT | The identifier of the control that contains the menu items from which the text will be retrieved from. |
| itemIndex | INTEGER | The item index that contains the desired text. |
| itemText | STRING | The text of the item. |
Availability: from Vectorworks 2010