Category Custom user interface, Object ProUIOptionmenu

Function ProUIOptionmenuSelectActionSet


Description
Sets the select action for an option menu.
Synopsis
#include <ProUIOptionmenu.h>
ProErrorProUIOptionmenuSelectActionSet(
char* dialog
/* (In)
The name of the dialog that contains the option menu
*/
char* optionmenu
/* (In)
The name of the option menu component
*/
ProUIAction action
/* (In)
The action to be called.
*/
ProAppData appdata
/* (In)
User data to be passed to the action function.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: Optionmenu Action Callbacks
  2. User Interface: Dialogs: Optionmenu Action Callbacks

Sample Code References:

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