Category Custom user interface, Object ProUICheckbutton

Function ProUICheckbuttonActivateActionSet


Description
Sets the activate action for a checkbutton. This function is called when the user selects the checkbutton.
Synopsis
#include <ProUICheckbutton.h>
ProErrorProUICheckbuttonActivateActionSet(
char* dialog
/* (In)
The name of the dialog that contains the checkbutton
*/
char* checkbutton
/* (In)
The name of the checkbutton component
*/
ProUIAction action
/* (In)
The action to be called on activating the checkbutton
*/
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: Checkbutton Action Callbacks

Sample Code References:

  1. pt_geardesign ( GearDesignUI.c )
  2. pt_geardesign ( GearDesignUI.c )
  3. pt_geardesign ( GearDesignUI.c )
  4. pt_userguide ( UgCreoSweepCreate.c )
  5. pt_userguide ( UgCreoSweepCreate.c )
  6. pt_userguide ( UgCreoSweepCreate.c )
  7. pt_userguide ( UgUIVisibility.c )
  8. pt_userguide ( UgUIVisibility.c )