Category Custom user interface, Object ProUIList

Function ProUIListLabelsSet


Description
Set the labels on the buttons in a list component. The labels are the identifiers for the items in a list that are displayed on the dialog. Before defining the labels, you must specify the internal names using ProUIListNamesSet().
Synopsis
#include <ProUIList.h>
ProErrorProUIListLabelsSet(
char* dialog
/* (In)
The name of the dialog that contains the list
*/
char* list
/* (In)
The name of the list component
*/
int n_labels
/* (In)
The number of labels
*/
wchar_t** labels
/* (In)
An array of labels.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: List Attributes

Sample Code References:

  1. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  2. pt_userguide ( UgCreoSweepCreate.c )
  3. pt_userguide ( UgCreoSweepCreate.c )
  4. pt_userguide ( UgUIListImplement.c )