API 文件集 > Custom user interface > Object ProUIPushbutton > Function ProUIPushbuttonActivateActionSet
Function ProUIPushbuttonActivateActionSet
Description
Sets the activate action for a pushbutton. This function is called when the user selects the pushbutton.
Synopsis
ProUIPushbuttonActivateActionSet
(
char* dialog
/* (In)
The name of the dialog that contains the pushbutton
*/
char* pushbutton
/* (In)
The name of the pushbutton component
*/
/* (In)
The action to be called on activating the pushbutton
*/
ProAppData appdata
/* (In)
User data to be passed to the action function.
*/
)
Returns
The function was successful
The function failed
Sample Code References
這是否有幫助?