Re: Forms6: tab-page question

From: Luc Bosman <l.bosman_at_wanadoo.be>
Date: Tue, 26 Sep 2000 10:48:30 +0200
Message-ID: <kio0tssvmce38337eps87aaqna747lal3t_at_4ax.com>


On Mon, 25 Sep 2000 15:53:24 +0200, Thorsten Ludwig <ludwig_at_mathematik.uni-ulm.de> wrote:

>Hello everybody,
>
>I want to use a tab-page canvas in an application.
>Every time the user selects an other tab page, some initialisation code
>should automatically start.
>Is there a possibility (trigger?) to detect a change of the tab page and
>which page the user has selected?
>
>Thanks,
>Thorsten Ludwig

short sample of a WHEN-TAB-PAGE-CHANGED

DECLARE
        tp_nm VARCHAR2(30);
BEGIN

	tp_nm := GET_CANVAS_PROPERTY('CAN_TAB', topmost_tab_page);
	if tp_nm = 'Personal' then
            -- some stuff
        elsif tp_nm = 'Adresse' then
             -- other stuff
         end if;

END;
-- 
Luc Bosman
DEV/2000 Software Engineer
Database & Network Administrator
l.bosman_at_wanadoo.be                      ICQ 37011625
http://users.skynet.be/kobukai/
 ---------------------------------------------------- 
|  -°)                                          (°-  |
|  /\\  Linux the choice of the GNU generation  //\  |
| _\_v                                          v_/_ |
 ---------------------------------------------------- 
Received on Tue Sep 26 2000 - 10:48:30 CEST

Original text of this message