Category Custom user interface, Object ProUIInputpanel

Function ProUIInputpanelActivateActionSet


Description
Sets the activate action for a input panel. This function is called when the user hits return in the input panel.
Synopsis
#include <ProUIInputpanel.h>
ProErrorProUIInputpanelActivateActionSet(
char* dialog
/* (In)
The name of the dialog that contains the input panel
*/
char* inputpanel
/* (In)
The name of the input panel 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: Input Panel Action Callbacks
  2. User Interface: Dialogs: Input Panel Action Callbacks

Sample Code References:

  1. pt_examples ( TestUITable.c )
  2. pt_userguide ( UgCreoSweepCreate.c )
  3. pt_userguide ( UgUISlider.c )