LabWindows/CVI

Radio_GetMarkedOption

int Radio_GetMarkedOption (int panel, int radioGroup, int *optionIndex);

Purpose

Gets the index of the marked option.

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.
Output
Name Type Description
optionIndex int Zero-based index of the marked option.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: Radio Button Group

Include file: custctrl\radioGroup.h

LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later

Example

Refer to userint\treesort.cws for an example of using the Radio_GetMarkedOption function.