SYSTEM.EVENT_WINDOW
The SYSTEM.EVENT_WINDOW system variable represents the name of the last window that was affected by an action that caused one of the window event triggers to fire. The following triggers cause this variable to be updated:
From within these triggers, assign the value of the variable to any of the following:
The following example sets the input focus into a particular item, depending on the window affected:
IF :System.Event_Window = 'ROOT_WINDOW' THEN
Go_Item('EMPNO');
ELSIF :System.Event_Window = 'DEPT_WINDOW' THEN
Go_Item('DEPTNO');
END IF;