1. 在Form级触发器中添加触发器WHEN-TAB-PAGE-CHANGED
2. 在此触发器中写如下代码:
DECLARE
canvas_id VARCHAR2(30); --标签页ID
BEGIN
canvas_id := GET_CANVAS_PROPERTY('标签画布名', topmost_tab_page);
if canvas_id = '标签页1' then go_block('块1'); end if;
if canvas_id = '标签页2' then go_block('块2'); end if;
if canvas_id = '标签页3' then go_block('块3'); end if;
execute_query;
END;