RButton.OnClicked


public event OnClicked

Prototype:

OnClicked(Sender, EventData)

Parameters

Sender
the event firing control
EventData
unused for this event

Description:

Emitted when the button has been activated (pressed and released).
Emitted when a button clicked on by the mouse and the cursor stays on the button. If the cursor is not on the button when the mouse button is released, the signal is not emitted.

Return value:

This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.