Category Custom user interface, Object ProUIOptionmenu

Function ProUIOptionmenuSelectednamesGet


Description
Gives the names of the currently selected items in a optionmenu
Synopsis
#include <ProUIOptionmenu.h>
ProErrorProUIOptionmenuSelectednamesGet(
char* dialog
/* (In)
The name of the dialog that contains the opt6ionmenu
*/
char* optionmenu
/* (In)
The name of the optionmenu component
*/
int* n_selections
/* (Out)
The number of selections
*/
char*** selections
/* (Out)
An array of strings containing the names of items in the optionmenu currently selected. The memory for this array is allocated by the function and should be freed with ProStringarrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed
PRO_TK_BAD_INPUTSAn invalid argument was given

Manual References:

  1. User Interface: Dialogs: Optionmenu Attributes

Sample Code References:

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