Documentation de l'API > Custom user interface > Object ProUITree > Function ProUITreeUpdateActionSet
Function ProUITreeUpdateActionSet
Description
Sets the update action for a tree, to be called when the user toggles an item checkbox. NOTE: when the update action callback is called, the name of the item can be determined by calling ProUITreeLastentereditemGet.
Synopsis
#include <ProUITree.h>
ProUITreeUpdateActionSet
(
char* dialog
/* (In)
The name of the dialog that contains the tree
*/
char* component
/* (In)
The name of the tree component
*/
ProUIAction callback
/* (In)
The update action for the tree
*/
/* (In)
User data to be passed to the action function.
*/
)
Returns
The function was successful
The function failed
One or more input arguments was invalid.
User Guide References
Est-ce que cela a été utile ?