Stacked canvas as a tab element
I am working on a form say 'A'. In this form, I have a tabbed canvas 'B' with 4 tabs.
I created another stacked canvas 'C' on which there are elements from 3 different blocks. Now I need to make this stacked canvas as an element of tab2 in canvas 'B'. I.e., if the user clicks on the tab2 of canvasB, it should show the stacked canvas C below the tab.
How can I do this?
Thanks,
Chiru
It is not possible to define stacked canvas for a tab canvas.
To avoid such circumstances,
in pre-form, you write
HIDE_VIEW('STACKED_CANVAS');
SHOW_VIEW('TAB_CANVAS');
If tab canvas is not showing up, set the fol. property
raise on entry : yes
viewport x and y position to 0
and try runing ,
if the tab canvas is showing up, gradually return to the required position
else check for any hide_view(tab_canvas) code in your form.
or you can reduce the height of content canvas to view tab canvas. Check the window name of content and tab canvas is same.
And in when tab page changed, you write for each tab page name
IF :SYSTEM.TAB_NEW_PAGE='PAGE2' THEN
go_item('some item in tab page 2');
SHOW_VIEW('STACKED_CANVAS');
ELSIF :SYSTEM.TAB_NEW_PAGE='PAGE1'
go_item('some item in tab page 1');
HIDE_VIEW('STACKED_CANVAS');
END IF;
Why that go-item is required?
Suppose your cursor is in an item in the stacked canvas, and if you click on page 1, The stack canvas wont disappear.
Edited by: Dora on Dec 23, 2009 8:29 AM
Similar Messages
-
Hi ,
Can we display a stack canvas on a tab page.
If yes pls explain how???
Any help will be appreciated..
Thanks & Regards
InduYes it is possible, but it needs some work.
You need to create the stacked on the content and set the viewport X Position & viewport Y Position coordinates to display it on the tab canvas.
Tony -
How do put a stack canvas inside the tab canvas
Hi all,
I have content canvas and tab canvas Now i want to put a stack canvas on the tab canvas .suppose tab canvas page are Page1,page2, page3 when i click the page1 then display the stack canvas 1,and when i click page2 then
display stack canvas 3 ..... so on. help me to find the solutions to this Issue
ThanksYou would use the when-tab-page-changed trigger to use hide_view and show_view commands to hide one stacked canvas and show another.
Just keep in mind that for a canvas to be displayed, the cursor must be in an item on that canvas, or at least in an item NOT covered by the canvas. -
To pull stacked canvas into a tab canvas....
Hi gurus,
I am new to forms and handling a form. I need to pull a stacked canvas in to a tab ed canvas. I am not able to do it. How could i posiblly do it.
Please help me out in it.detailed explaination would be very helpful
RegardsHi Thank you for the solution but here
i have created the stacked canvas.and moved into the content canvas...but i am not able to pull the content canvas into the tab canvas by adjusting the X-Y view ports ...could you expalin it to me in detail....it would be great help.
Thanks in advance
Regards -
Tab canva disapear whith stacked canvas
hi guys,
in my form there is:
1. content canvas
2.tabbed canvas
when i put a stacked canvas the tabbed canvas disapear. any help?stack canvas can not put on top of tab canvas.
what I did is to put tab canvas on content canvas and make tab canvas height very short, and then put stack canvas right below tab canvas that look like it's on tab. -
Tab canvas disappear when the main stacked canvas reach the end of column
Hi all,
I have 3 canvas ( 1 main canvas, 1 stacked canvas ) and this link to 1 tab canvas. All these are in the same window.
Whenever using the keyboard to press enter navigate from column to column and when it reach the end of the main canvas which is about to jump to the stack canvas, the two canvas ( stacked & tab ) was hide by itself. Even I have stated earlier to show all canvas in the pre-block trigger. when I keep on press the enter to jump to the next stacked canvas, this stacked canvas is being shown again. My tab canvas was not appear if I am press the enter key. However, if I press the arrow key down the tab canvas is appear. This I wasn't do any code to call the tab canvas.
When I keep on press enter and reach the end of the stacked canvas again the tab canvas is disappear, unless I have press the arrow key down to display the tab canvas.
Trying to use show_view( tab canvas ) in many trigger but still does not show the effect.
Anyone has this experience before ?
Thanks.
LimHi Lim
Pls check this hope it helps u to recognize dealing with muti-canvas in 1 window...
how to use stack canvas in tab canvas in oracle forms
Regards,
Amatu Allah.
Edited by: Amatu Allah on Sep 22, 2011 2:23 AM -
Hi ,
I want to put up a stacked canvas on to a tabbed one. Read somewhere its not possible ... but the way around would be to make the content canvas tabbed. how does one do that?
ThanksPutting a stacked canvas on a tabbed one is possible, making a content canvas tabbed is not.
The idea is that you show or hide the stacked canvases depending on what tab is showing, or if you want a stacked canvas to be visible on all tabs then just create it in the canvas editor window, as a stacked canvas on the main content canvas, and set the x/y coordinates so that it displays in the same location as the tab canvas. -
Hi,
I want to show a stacked canvas on a tabbed canvas. on stacked canvas, there are many fields that cannot be put on tabbed canvas and i must have to put these on stacked canvas with scrollbar.
How can i put that stacked canvas on tabbed canvas?
Regards,
QasimHello,
When the Layout is open, just add the stacked canvas by selecting it in the tool bar and drawing its bounds onto the tab canvas.
Francois -
How to build stacked canvas on tab canvas page
I'm a beginner for oracle d6i. Please tell me
how to build stacked canvas on tab canvas page for
details. I need horizonal scrollbar on tab canvas.
Thanks in advance.Thank you for your reply. In general, i really put stacked canvas onto the tab canvas, However i saw one solution of john.williamson in this forums (re:Silent Client Installation He didn't provide it
for details to put stacked canvas onto the tab canvas' page. -
Urgent: Stack Canvas in Tab canvas
Hi,
I have a very urgent requirement. Please help me solving this.
I want to have One tab canvas which has three tab pages.
On the First Tab i want to fetch the data from some table say XX_CUSTOM_TABLE.
Now, This should be displayed in Tabular format with Horizontal and vertical scrolling as the table has many columns.
Please give me step by step instructions so that it could be implemented quickly.
P.S : I am using Oracle forms 6i.
Thanks in advance,
YadneshHi,
1. When i open the form only the fields added in the tab canvas are visible.
Where u have drawn the stack canvas,you need to create in the main canvas where ur tab canvas is there and u need to drag it to tab canvas.Have u created the trigger when tab_page_changed?
2. when i change the tab page from tab 1 to tab 2 and then again get back to tab 1, then the stack canvas fields are visible and the fields in tab gets invisible.
Just place the stack canvas correctly after the fields in tab page 1.
3. The stack canvas is not horizontally scrolling.
Just go to the property palette of stack canvas and make yes to both horizontal and vertical to yes.
Do i have to create a stack canvas separately? and then how do i drag it into tab canvas. i am still not getting this. because.
when i open the tab canvas page i do not find the stack layout so that i can drag it like a normal text item.
Yes u need to create a stack canvas separately. Just open the Mani canvas the tab pages are there, then in that click the stack canvas icon and create a stack canvas and create all the fields, and move the stack canvas to the tab page. And u need to create a when tab page changed trigger at form level.
Regards
Sri -
Stacked Canvas Problem in oracle 6i form builder
Hello,
i have 2 content canvas "DTL and PUNCH",1 tab,1 horizontal canvas in window1 and 1 another content canvas "parameter" in window2.
i have created a stacked canvas under dtl canvas because
I have a master-details form. my details has more columns so im planing to use stack canvas.
but at run time it is not displaying?
please help me regarding that?
Thanks
With Regards
Vishal Agrawalhello,
then you should set viewport x and y position of stack canvas below the height of button in DTL block.
means If button y position = 170 then
viewport position of x = 5,
viewport position of Y = (y position of button + height of button+5) . (for Stack canvas)
Same way,
If stack canvas height = 270 then
viewport position of x = 5,
viewport position of Y = (viewport position of Y of stack canvas + height of stack canvas+5) . (for Tab canvas)
PS -
Hi,
I have prepared a stacked canvas on a content canvas.
Both content and stacked canvas are based on the same data block. In the data block 2 items are on content canvas and the remaining are on stacked canvas. I have also a scroll bar on the content canvas so that we can scroll to the right as there are many items on it.
so 1st and 2nd fields are on the content canvas and remaining ones are on stacked canvas.when i tab out of the 1st field stacked canvas goes invisible, but when i tab out of the 2nd field stacked canvas again comes back.
How can i avoid this?
I want the stacked canvas always to be displayed when i tab out from any where.
One more problem is, when i click on the 2nd field the stacked canvas goes invisible too
Your suggestions are greatly appreciated.
Thanks
SandeepCheck if the second item overlaps the area of the stacked canvas. Forms always makes the current item be displayed fully and therefore hides all areas which would overlap the item.
-
Tab Canvas on a STACKED Canvas?
Is it possible to have a tab canvas ON (IN) a stacked canvas? Or can a tab canvas ONLY be placed on a content canvas?
Thanks!Hi,
Can you tell the requirement clearly, whether you need to create a tab canvas on stacked canvas, a tab canvas in stacked canvas.
1.Stack Canvas in Tab canvas
First you need to create a tab canvas in the content canvas then you need to create a stack canvas on the content canvas, then you need to align it properly.
Refer this link
http://startapps.blogspot.in/2009/12/how-to-place-stacked-canvas-in-tab-page.html
Thanks & regards
Srikkanth -
Tab Canvas displaying Stacked Canvas at runtime disappears?
Hi,
I have 3 canvases that contain the following:
1) Content Canvas -- This contains the TREE item.
2) Tab Canvas -- A tab canvas with a single Tab Page
3) Stacked Canvas -- This is a Stack Canvas with a few
text items on it.
4) Single Window.
======At runtime the following actions occur: ==========
1) The Viewport of the stacked canvas is set to the
Viewport of the Tab Page on the Tab Canvas so that it
looks like the Tab Page has a vertical and horizontal
scrollbar with text items displayed.
2) A text item on the Stacked Canvas is in focus as soon
the as the form window is displayed.
===================Problem is : =====================
1) When I select a Node of the Tree Item, the Tab Canvas
automatically disappears(or becomes invisible) , as a
result the stacked canvas displayed within it at
runtime also becomes invisible. I am left with only
the Tree item being displayed.
=======================================================
PS : I have never experienced this problem with just the
content canvas and the Tab Canvas together.
Any soultion to this problem is most appreciated.
Thanks
SharathI am experiencing the exact same thing. The width of the tabs in the layout editor is varied depending on the length of the text. However, at run-time, the width of the tabs is fixed, causing the tabs to be wider than the window and a set of VCR buttons to appear in the upper right corner of the canvas. Personally, I think this is a Forms bug. Why would they intentionally let us set the width to variable at design-time only to force a fixed width at run-time?
-
Display stacked canvas on tab canvas page
Hi,
I am using Forms 10g. I have Content canvas named CANVAS1. I created a tab canvas called TAB_CAN contains TAB_PAGE1 and TAB_PAGE2, Stacked Canvas called STACK1.
If if create tab canvas on content canvas thourhg labout editor. It's display well when forms run. But, i have created manually.
1. How to display tab canvas programatically.
2. How to display stacked canvas on TAB_PAGE1
Regards,
MuraliLooks like you are in the wrong forum.
Please post this in the [Forms forum|http://forums.oracle.com/forums/forum.jspa?forumID=82]
Timo
Maybe you are looking for
-
How to Print directly from forms...please help me...
Hi I have a base table block in a form (forms 5.0). and this form we use for entering transactions. Once transaction is entered and saved. To print this transaction I call a report (report writer 3.0). Here to print this transaction we have two steps
-
I plugged my external drive in after removing it to clean the computer. HP PC. When I plugged the external drive in again the drive letter changed and Lightroom could not find any of my photos 11,000 or so of them. I have tried the usual recommendat
-
A Lot of my photos are from my road to state with my high school team. And I just want thode photos back
-
Is sqldeveloper 1.5.1 clunky?
I just upgraded/installed to 1.5.1 from 1.2.0 on win XP Pro with the latest JDK and it just seems slow and clunky. It seems to hang up if you let it sit for a few hours, it doesn't even have to be connected to a database for this to happen. If I log
-
5.6 raw converter turns pure white into purple
i bought a canon 7D in early october and i still can't use PS cs4 to convert my raw files -- even the newest version (5.6) turns the highlights *purple* has anyone else noticed this? is there a workaround? will adobe fix it soon? i hope so -- that's