Creates a new radio button control in a dialog layout.
Radio button groups can be created by defining two or more radio buttons with consecutive index values. When defined as a button group, VectorScript will handle selection-deselection of controls within the group.
PROCEDURE CreateRadioButton(
dialogID : LONGINT;
itemID : LONGINT;
text : STRING);def vs.CreateRadioButton(dialogID, itemID, text):
return None| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | The index of the dialog layout containing the control. |
| itemID | LONGINT | The index that will identify the control item. |
| text | STRING | The display text for the control. |
Availability: from VectorWorks9.0