Set the selection state of the given item in a control of choices.
PROCEDURE SelectChoice(
dialogID : LONGINT;
componentID : LONGINT;
itemIndex : INTEGER;
selectState : BOOLEAN);def vs.SelectChoice(dialogID, componentID, itemIndex, selectState):
return None| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | the dialog identifier given by CreateLayout or CreateResizableLayout |
| componentID | LONGINT | The identifier for the component that contains the choices. |
| itemIndex | INTEGER | The index of the item to set the selection state for. |
| selectState | BOOLEAN | True if the item at the given index should be selected. False otherwise. |
Availability: from Vectorworks 2010