Lingo Dictionary > O-R > on rightMouseUp (event handler)

 

on rightMouseUp (event handler)

Syntax

on rightMouseUp
	statement(s)
end

Description

System message and event handler; in Windows, specifies statements that run when the right mouse button is released. On Macintosh computers, the statements run if the mouse button is released while the Control key is pressed and the emulateMultiButtonMouse property is set to TRUE; if this property is set to FALSE, this event handler has no effect on the Macintosh.

Example

This handler opens the Help window when the user releases the right mouse button in Windows:

on rightMouseUp
	window("Help").open()
end