Radio_AddOption
- Updated2023-02-21
- 1 minute(s) read
int Radio_AddOption (int panel, int radioGroup, const char *label);
Purpose
Adds an option to the radio button group.
Parameters
| Input | ||
| Name | Type | Description |
| panel | int | The specifier for a particular panel that is currently in memory. You can obtain this handle from functions such as LoadPanel and NewPanel. |
| radioGroup | int | Specifies the radio button group to which you want to add the option. |
| label | const char * | The label of the new option. Pass "" or 0 for no label. |
Return Value
| Name | Type | Description |
| newOptionIndex | int | Returns the index used to specify this option in subsequent function calls. Negative values indicate that an error occurred. |
Additional Information
Library: Radio Button Group
Include file: custctrl\radioGroup.h
LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later