Category Custom user interface, Object ProUITree

Function ProUITreeSelectActionSet


Description
Set the action function to be called when the tree is selected. The left mouse button, the SPACE key and the navigation keys (if the selection policy is PROUISELPOLICY_BROWSE or PROUISELPOLICY_EXTENDED) can be used to make a selection in the tree.
Synopsis
#include <ProUITree.h>
ProErrorProUITreeSelectActionSet(
char* dialog
/* (In)
The name of the dialog that contains the tree.
*/
char* component
/* (In)
The name of the tree component.
*/
ProUIAction callback
/* (In)
Function to be called when the tree is selected.
*/
ProAppData data
/* (In)
Action data passed to the callback function. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
See Also
ProUITreeSelectcbregardlessSet
ProUITreeSelectcbregardlessGet

Manual References:

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

Sample Code References:

  1. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )