Category Custom user interface, Object ProUIOptionmenu

Function ProUIOptionmenuActivateActionSet


Description
Sets the activate action for an option menu. This function is called only for an editable option menu, and the callback is invoked when the RETURN key has been pressed in the input panel of the option menu. See ProUIOptionmenuSelectActionSet() for setting an action to be called when the user selects an item in the option menu.
Synopsis
#include <ProUIOptionmenu.h>
ProErrorProUIOptionmenuActivateActionSet(
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 on selecting a button
*/
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