Callback function for context menu related events. (see also TXTextControl.addEventListener function)

Syntax

function(<ContextMenuEventArgs> args)

Introduced: 31.0.