Method TrayIcon():onRbClick() Foundation

Right mouse button is clicked.

Syntax
:onRbClick( <aPos> ) --> self
Parameters
<aPos>
An array with the position of the mouse pointer.
Return

This method returns self.

Description

A event handler for right mouse button click events. The default behavior is to display a popup menu. This popup menu can be customized by the application in the handler :onBeforeMenuPopup(). If the application does not define any menu items, the display of the popup menu is cancelled. The :onRbClick() handler can be overridden by the application in a user-defined class derived from TrayIcon to change the way the popup menu is handled or to suppress the creation of the default popup menu.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.