Category Custom user interface, Object ProUITextarea

Function ProUITextareaActivateActionSet


Description
Sets the activate action for a text area. This function is called when the user presses return in the text area.
Synopsis
#include <ProUITextarea.h>
ProErrorProUITextareaActivateActionSet(
char* dialog
/* (In)
The name of the dialog that contains the text area.
*/
char* textarea
/* (In)
The name of the text area component
*/
ProUIAction action
/* (In)
The action to perform when the text area is activated.
*/
ProAppData appdata
/* (In)
Application data to be passed to callback function
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed
PRO_TK_BAD_INPUTSAn invalid argument was given

Manual References:

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