Category Custom user interface, Object ProUIOptionmenu

Function ProUIOptionmenuSelectednamesSet


Description
Gives the names of the currently selected items in a optionmenu
Synopsis
#include <ProUIOptionmenu.h>
ProErrorProUIOptionmenuSelectednamesSet(
char* dialog
/* (In)
The name of the dialog that contains the optionmenu
*/
char* optionmenu
/* (In)
The name of the optionmenu component
*/
int n_selections
/* (In)
The number of selections
*/
char** selections
/* (In)
An array of strings containing the names of items in the optionmenu currently selected
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

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_udf_examples ( PTUDFExUDFPlacementDashboard.c )