Category Custom user interface, Object ProUIRadiogroup

Function ProUIRadiogroupLabelsSet


Description
Set the labels on the buttons in a radio group component. The labels are the identifiers for the button in a radio group that are displayed on the dialog. Before defining the labels, you must specify the internal names using ProUIRadiogroupNamesSet().
Synopsis
#include <ProUIRadiogroup.h>
ProErrorProUIRadiogroupLabelsSet(
char* dialog
/* (In)
The name of the dialog that contains the radio group
*/
char* radiogroup
/* (In)
The name of the radio group component
*/
int n_labels
/* (In)
The number in the array of labels
*/
wchar_t** labels
/* (In)
An array of labels, one for each button in the radio group
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: Radiogroup Attributes

Sample Code References:

  1. pt_geardesign ( GearDesignUI.c )