:: Home >>

control activation events

Controls trigger activation and deactivation (focus/blur) events

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

10 Apr 07
AW.UI.Grid fires the event incorrectly in IE5.5 Max (1)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5
2.5.0 - 2.5.4
2.5.4
2.5.0 - 2.5.3
2.5.3
2.5.0 - 2.5.2