RadioBG_CreateFromControlArray
- Updated2023-02-21
- 1 minute(s) read
int RadioBG_CreateFromControlArray (int array);
Purpose
Creates a flexible radio button group from a control array. The control array must be made up of controls of type CTRL_ROUND_RADIO_BUTTON or CTRL_SQUARE_RADIO_BUTTON.
Parameters
| Input | ||
| Name | Type | Description |
| array | int | Array of controls of type CTRL_ROUND_RADIO_BUTTON or CTRL_SQUARE_RADIO_BUTTON that you want to convert to a flexible radio button group. |
Return Value
| Name | Type | Description |
| returnValue | int | Returns the ID used to specify this flexible radio button group in subsequent function calls. Negative values indicate an error occurred. |
Additional Information
Library: Flexible Radio Button Group
Include file: custctrl\radioBtnGrp.h
LabWindows/CVI compatibility: LabWindows/CVI 2012 and later
Example
Refer to userint\custctrl\radioBtnGrp\radioBtnGrpCtrlArray.cws for an example of using the RadioBG_CreateFromControlArray function.