Category Custom user interface, Object ProUIOptionmenu

Function ProUIOptionmenuLabelsGet


Description
Get the label names of the items in the optionmenu.
Synopsis
#include <ProUIOptionmenu.h>
ProErrorProUIOptionmenuLabelsGet(
char* dialog
/* (In)
The name of the dialog that contains optionmenu.
*/
char* component
/* (In)
The name of the optionmenu component.
*/
int* count
/* (Out)
Number of labels.
*/
wchar_t*** values
/* (Out)
Array of labels text. Free this using ProWstringarrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Optionmenu Attributes

Sample Code References:

  1. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )