:: Documentation >>

control activation events

Controls trigger activation and deactivation (focus/blur) events

null

Syntax

obj.onControlActivating = function(event){...};
obj.onControlActivated = function(event){...};
obj.onControlDeactivating = function(event){...};
obj.onControlDeactivated = function(event){...};

Parameters

event (object) - DOM event

Example

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

Remarks

If you cancel (return non-zero value) onControlDeactivating event - the focus wil stay in the control.

Comments

AW.UI.Grid fires the event incorrectly in IE5.5 Max (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