eventType

The eventType parameter of the userNotify event contains the type of event received. The global constants for the types of user event that can be received are listed in the following table.

Global Constant Value
User_Base_Event 16
User_Max_Event Max_Integer (#7FFFFFFF, equates to 2147483647)

The JadeTextEdit class event type can be one of the JadeTextEdit class constant values listed in the following table.

Constant Description Event Tag
EVENTTYPE_BOUNDKEY User pressed a key that was bound to a notification. Specified in the eventTag parameter of the bindKeyToNotification method
EVENTTYPE_ALTERREADONLY An attempt was made to alter the document when readOnly is true Zero (not applicable)
EVENTTYPE_CANCEL One of the following: Zero (not applicable)
 
  • Esc key was pressed

 
 
  • Control lost focus

 
 
  • Button pressed

 
 
  • Control deleted

 
EVENTTYPE_CLIPBUFFCHG The clip buffer has changed Buffer number (0 through 9)
EVENTTYPE_CLIPBUFFETC A clip buffer paste or copy command was not followed by a buffer number keystroke in the range 0 through 9 Key code entered
EVENTTYPE_SELECTIONSTATE Selection has changed between empty and not empty Current state, with zero (0) being empty