:: Documentation >>

control mouse events

Controls trigger a set of mouse-related events -

null

Syntax

obj.onControlMouseOver = function(event){...};
obj.onControlMouseOut = function(event){...};
obj.onControlMouseDown = function(event){...};
obj.onControlMouseUp = function(event){...};
obj.onControlClicked = function(event){...};
obj.onControlDoubleClicked = function(event){...};

Parameters

event (object) - DOM event

Example

obj.onControlClicked = function(event){
    alert(this.getControlText());
}

Remarks

If any of the Ctrl-, Alt- or Shift- button is pressed then onControlClicked and onControlDoubleClicked events will not fire. Instead the event name will include the combination of the control characters - for example, onControlShiftDoubleClicked or onControlCtrlClicked

Comments

Option to prevent DOM events from bubbling up? Thierry Nivelet (FoxInCloud) (0)
sort is not working, when we set the radio button in the column. guest (0)
Event "onControlMouseDown" does not fire on AW.UI.Input object (Version 2.0.2) sysadm (6)
onCtrlControlClicked event does not fire Frank Olson (1)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5