Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SET_CANVAS_PROPERTY TOPMOST_TAB_PAGE

Status
Not open for further replies.

hudo

Programmer
Dec 4, 2003
94
DE
Hello,

I'd like to determine my TOPMOST_TAB_PAGE of my TAB_WALL
How can this be done ??

This way seems to be wrong:

tp_id TAB_PAGE;
tp_id := FIND_TAB_PAGE('TAB_WALL.VISUAL_ALL');
SET_CANVAS_PROPERTY('TAB_WALL', TOPMOST_TAB_PAGE, tp_id );


The documentation says:

SET_CANVAS_PROPERTY(canvas_id CANVAS,property NUMBER,value VARCHAR2);
SET_CANVAS_PROPERTY(canvas_id CANVAS,property NUMBER,x NUMBER);

so there seems the be always a value or number required after the property.
But what does the TOPMOST_TAB_PAGE require ?

Please help
 
Hi,
Hudo, please read through the Online help thoroughly.

It has following Options:
Code:
SET_CANVAS_PROPERTY
  (canvas_id  CANVAS,
   property   NUMBER,
   value      VARCHAR2); 
SET_CANVAS_PROPERTY
  (canvas_id  CANVAS,
   property   NUMBER,
   x          NUMBER);
SET_CANVAS_PROPERTY
  (canvas_id  CANVAS,
   property   NUMBER,
   x          NUMBER,
   y          NUMBER); 
SET_CANVAS_PROPERTY
  (canvas_name  VARCHAR2,
   property     NUMBER,
   value        VARCHAR2);
SET_CANVAS_PROPERTY
  (canvas_name  VARCHAR2,
   property     NUMBER,
   x            NUMBER);
SET_CANVAS_PROPERTY
  (canvas_name  VARCHAR2,
   property     NUMBER,
   x            NUMBER,
   y            NUMBER);

Also if you wish to check which is your current Top most canvas then make use of :

{Code]
FUNCTION GET_CANVAS_PROPERTY
(canvas_id Canvas,
property NUMBER);
FUNCTION GET_CANVAS_PROPERTY
(canvas_name VARCHAR2,
property NUMBER);
[/Code]

If I have misunderstood your requirment then do let me know.

HTH
Regards
Himanshu
 
Hi,
Hudo, please read through the Online help thoroughly.

It has following Options:
Code:
SET_CANVAS_PROPERTY
  (canvas_id  CANVAS,
   property   NUMBER,
   value      VARCHAR2); 
SET_CANVAS_PROPERTY
  (canvas_id  CANVAS,
   property   NUMBER,
   x          NUMBER);
SET_CANVAS_PROPERTY
  (canvas_id  CANVAS,
   property   NUMBER,
   x          NUMBER,
   y          NUMBER); 
SET_CANVAS_PROPERTY
  (canvas_name  VARCHAR2,
   property     NUMBER,
   value        VARCHAR2);
SET_CANVAS_PROPERTY
  (canvas_name  VARCHAR2,
   property     NUMBER,
   x            NUMBER);
SET_CANVAS_PROPERTY
  (canvas_name  VARCHAR2,
   property     NUMBER,
   x            NUMBER,
   y            NUMBER);

Also if you wish to check which is your current Top most canvas then make use of :

Code:
FUNCTION GET_CANVAS_PROPERTY
  (canvas_id  Canvas, 
   property   NUMBER);  
FUNCTION GET_CANVAS_PROPERTY
  (canvas_name  VARCHAR2, 
   property     NUMBER);

If I have misunderstood your requirment then do let me know.

HTH
Regards
Himanshu
 
Hello Himanshu,

thanks for your reply. I got the same documentation which you mentioned, but was not able to interpret it correctly. What I searched for was the following statement:

SET_CANVAS_PROPERTY('TAB_WALL', TOPMOST_TAB_PAGE, 'VISUAL_ALL' );

Thanks for your attention.
 
I'm confused by your original post. Are you trying to SET or GET the topmost tab page?

To find out the topmost page, use

[tt]Get_Canvas_Property('<canvas>',TOPMOST_TAB_PAGE);[/tt]

To make another tab page visible, use

[tt]Set_Canvas_Property('<canvas>',TOPMOST_TAB_PAGE,'<tab_page_name>');[/tt]

:SYSTEM.TAB_NEW_PAGE and :SYSTEM.TAB_PREVIOUS_PAGE will tell you where the user last navigated to and from, but these will be null before any tabs are pressed.
 
@lewisp:
Hello, I tried to SET the TOPMOST_TAB_PAGE, but I tried it with the ID of the TAB_PAGE (I'd like to have as TOPMOST) in order to use the TAB_PAGE name itself...

(Well, I think the word determine confused you, this word was not a good choice from me in this contents. Sorry)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top