Category Custom user interface, Object ProUISpinbox

Function ProUISpinboxUpdateActionSet


Description
Sets the update action for a spin box
Synopsis
#include <ProUISpinbox.h>
ProErrorProUISpinboxUpdateActionSet(
char* dialog
/* (In)
The name of the dialog that contains the spin box
*/
char* spinbox
/* (In)
The name of the spin box component
*/
ProUIAction callback
/* (In)
The update action for the spin box
*/
ProAppData data
/* (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: Spinbox Action Callbacks
  2. User Interface: Dialogs: Spinbox Action Callbacks

Sample Code References:

  1. pt_geardesign ( GearDesignUI.c )