OnTextMouseRightDown

HC GUI programming Custom Event Handlers OnTextMouseRightDown
OnTextMouseLeftDown OnTextMouseMiddleDown

OnTextMouseRightDown commands


This command sets the Logo event handler for a mouse right button down event of the console. This way it enables custom mouse behavior of the console.

Example:

OnTextMouseRightDown [
	disableTextMouseEvents	;neccessary to prevent popup menu
	cs ht
	setH 90
	Label WordUnderCursor
	updateGraph]
OnTextMouseLeftDown [
	enabletextmouseevents
	setCursor TextMousePos]

Example:

References:

OnTextMouseLeftDown OnTextMouseMiddleDown