SYSTEM.EVENT_CANVAS
SYSTEM.EVENT_CANVAS returns the name of the canvas that contains the newly–selected tab page.
Default
SYSTEM.EVENT_CANVAS can be used only in the WHEN-TAB-PAGE-CHANGED trigger.
declare
the_canvas varchar2(30) := :system.event_canvas;
begin
if the_canvas = ’FIRST_TAB_REGIONS’ then
control.first_tab_regions(’WHEN-TAB-PAGE-CHANGED’);
elsif the_canvas = ’SECOND_TAB_REGIONS’ then
control.second_tab_regions(’WHEN-TAB-PAGE-CHANGED’);
end if;
end;