Tab Canvas on Content Canvas
i wanted to use a Tab Canvas on my Form
the Header details are on the Content Canvas (Canvas4). on the same canvas i have inserted a TabCanvas which created a new canvas(Canvas7) which has the details section for the header part.
when i run the form, i can see only the header part on carvas4.
i wanted to see the Header and Details of the form...
how can i do this?
Am I correct in saying you want the tab canvas to act like a stacked canvas.
If so have you added it to the view of Canvas4 by performing the following:
1. View (drop down)--> Stacked Views
2. highlight Canvas7 and click on ok.
Alternatively are you performing some kind of navigatoin to an It that is hidden behind the tab canvas?
If non of this works or is causing you issue. What happens if you use SHOW_VIEW('Canvas7'); and navigate to an item on it in your when-new-form-instance trigger?
Cheers
Q
Similar Messages
-
Stacked canvas in content canvas desapears when post_query
Hello.
I have a content canvas and i draw a stacked canvas into content canvas. I want a horizontal scroll in stacked and a vertical scroll bar in the content. In stacked canvas, i placed a base table data block. In when-form-instance, i have a comand SHOW_VIEW of stacked canvas.When i execute_query, the stacked canvas desapears. I don't understand why...
This is Developer 10g
Please help me.
Best RegardsI have seen that too, with tab canvas, which is like a stacked canvas.
On mine, it occurs after a clear_form and synchronize, but before I execute any queries (there are multiple blocks and queries).
So what I added was this, following the Synchronize:
Declare
Tab_View_id Viewport := Find_View('TAB');
Begin
if get_view_property(Tab_View_id,Visible) = 'FALSE' then
show_view(Tab_View_id);
end if;
End;I actually put the Tab_View_ID variable into a package spec, so Forms only needs to set it once.
If you can't find the right place to add the code, a form-level when-new-item-instance trigger will work. -
Display stacked canvas on content canvas?
hello all,
i am try to show the stacked canvas on content canvas at design . but its not display. i set the following properties.
type-stacked
displayed:true
blevel:none
window: window which is assign to content canvas
raised on entry: true
display x position
display y position
view hori. scroll bar: true
after setting above properties stacked canvas is still on showing on content canvas at design .
please help me
thanks
yashHi,
1.Create one content canvas and create one stacked canvas.
2.give the label as Conetnt canvas and stack canvas respectively.
3.Go to conetent canvas layout editor
4.click on menu view-->Stacked Views and select ur stack canvas.
5.Now ur stack canvas is placed on ur content canvas.
6.select the stack canvas in same layout editor and click on one of the corner of stack canvas.
7.now u can move that stack canvas where ever u want on content canvas.
if u hav any problem then ask me. -
Tab canvas after content canvas impossible?
I am still having problems with tab canvases that come after content canvases in Designer 6i. I have changed the QMSO$BLOCK.QMS$BLOCK_INFO VISIBLE property to YES and this allowed me to generate the form, but now I have the little QMS$BLOCK_INFO item displaying and worse yet all of my multi-record tab pages only display 1 record. Is there something else that needs to be changed in the object library? Can I even generate forms with 2 or more tab pages after a content canvas in Headstart 6i (patch 13)?
I recommend a couple of things:
- Create a copy of cgso$block and call it something like my$block_tab_problem. In cgso$block, set qms$block_info back to VISIBLE false. Set qms$block_info to VISIBLE only in the my$block_tab_problem copy. In designer, for each MCO that is on the base canvas and has child blocks on tabs on the same canvas, set the Template/Library Object property to my$block_tab_problem. In other words, only apply this change where you absolutely must apply it - the master block of this particular layout.
- Code a pre-form trigger that sets the qms$block_item trigger to VISIBLE false using the set_item_property built-in. Again, you will only have to include this code in the few forms where you have this layout. This will hide the ugly item.
- This will eliminate the problem with the multi-record blocks because they inherit qms$block_info from cgso$block which has been set back to VISIBLE false.
Regards,
Lauri -
Displaying tab page canvas on content canvas in Forms 6i
Forms [32 Bit] Version 6.0.8.8.0 (Production)
I have an existing form which has multiple canvases and there are couple of fields on Content canvas and then on the same content a Tab canvas is layed out. I can see both canvases in same layout editor and select and move the tab canvas.
But when I create a new form and want to layout a tab canvas on top of content, it appears in a separate layout editor window on design time.
I want it like below:
-----------content--------------------
| |
| |
| |
|TabPag1 TabPage2 |
| |
| |
| |
| |
| |
| |
-------------content------------------How can I create it so that it appears in same layout editor window at design time and appears in same window like one canvas on runtime.In order for the Tabbed Canvas to appear on the Content Canvas in the Layout Editor, you have to actually draw the Tabbed Canvas on the Content Canvas; eg: open your content canvas in the layout editor, click on the tabbed canvas toolbar button and then draw it on your content canvas. If you create the Tabbed Canvas object through the Object Navigator and then set the properties so it would display on the content canvas - it won't be visible on the content canvas with the layout editor.
This is a bit of a quirk in the Forms Builder and they haven't corrected this in any of the newer versions of Forms yet. :-(
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Canvas becomes too big when generating tabs on a content canvas
I want to generate the following layout:
<New content canvas> block 1 height 15 width 80
prompt: field
prompt: field
<New tab canvas page> tab 1 height 31 width 80
Multirecord block which is a detail of block 1
<New tab canvas page> tab 2 height 31 width 80
Also MR block which is a detail of block 1
Window height 46 width 81
Problem is that the height of the tab canvas pages becomes 46 and not 31, so the height of the window becomes 61. I've tried several options, als with view height and width, but it is always reproducable and wrong. And with every module I build with the same sort of layout.When i'm not been able to get the right size i will add a pre-form-trigger and resize the object at runtime. It's saves me a lot of time instead of trying to instruct the generator to do so.
I'm always using the pre-form-trigger and not the when-new-form-instance-trigger because Headstart will do the initialization after the pre-form-trigger is fired and so it's taking the changes made in the pre-form-trigger into account. -
(another) stacked canvas on content canvas problem
I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
IF :stack = 'SHOW_STACK' THEN
GO_BLOCK('MEL_ITEM');
GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
SHOW_VIEW('MEL_LINE_ITEM');
SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
ELSif :stack = 'HIDE_STACK' THEN
HIDE_VIEW('MEL_LINE_ITEM');
SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
END IF;user12198246 wrote:
I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
IF :stack = 'SHOW_STACK' THEN
GO_BLOCK('MEL_ITEM');
GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
SHOW_VIEW('MEL_LINE_ITEM');
SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
ELSif :stack = 'HIDE_STACK' THEN
HIDE_VIEW('MEL_LINE_ITEM');
SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
END IF;Here, it seems two problem..
The line..
SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
and
SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);No needed
Hope this helps
Hamid -
Dear All
In forms 10G i have one Content canvas and one Stacked canvas . While designing the form i am aligning the stacked canvas on content canvas.
I follow this steps:-
1) Open Content canvas then in tool ball i click on VIEW then STACK VIEWS .
2) Then it will open a pop up window STACKED/TAB CANVAS and there i am selecting my Stacked canvas name.
3) But after that when i want to open only the content canvas then this stacked canvas also opening ..
And i am not able to hide that ...
How to do this ?1) open content canvas
2) Click in menu "Stacked Views" (popup window is opened)
3) unselect your stacked canvas using CTRL+click -
Stacked canvas view placed on the content canvas
Hi to all,
i am developed a one form ,i.e placed the stacked canvas view on the content convas.
i create a two data block's with same table.
one data block for content canvas and one for stacked canvas.
in the content canvas i taken two fileds with scroll bar and remaining fields placed on the stacked canvas.
these stacked canvas view put on the content canvas.it dispalying and
executed succesfully.
here i am getting one problem i am displying the 10 records at a time in both canvases.my requirment is placed on the
cursor on the content canvas particular record scroll down then automatically show the same record details in stacked canvas and
content canvas scroll bar is changed automatically stacked canvas scroll bar is changed.
any one help me.........{quotei create a two data block's with same table.
one data block for content canvas and one for stacked canvas.{quote}
This is not necessary. Just create one data block and then assign the block items to your Content and Stacked canvases. You can display items in a data block on different canvases. By doing this, there is no need to write code to synchronize the records because they are part of the same data block so they will automatically scroll as you navigate through your records.
Craig... -
Calling content canvas with stacked canvas
Hi.
i have a content canvas in that i have a linked stacked canvas...
from some other screen if i call content canvas by show_view('Content canvas') i am only getting the content canvas. but i am not getting the linked stacked canvas. weather it is correct ,or not . if i want to see the stacked canvas on content canvas ,i nee to call the stacked canvas too?.
please clearify me..
thanks in advance.
vijay.Normally, it is not required to explicitely call a show_view on a stacked canvas.
In Object Navigator, assure that the stacked canvas (in terms of a sequence) is below the content canvas.
If the stacked canvas is still not shown issue a GO_BLOCK() and / or GO_ITEM() e.g. in the WHEN-NEW-FORM-INSTANCE Trigger
to the block having at least on item on the stacked canvas to be displayed.
In doing so, you must assure that at least one item on the block (having the stacked canvas assigned) is able to receive
the focus (is enabled and it might be required to set the keyboard navigable property (not sure about that)).
Due to the internal navigation of oracle forms, the canvas should get displayed when an item on the canvas receives the focus -
Tab canvas on a content Canvas
Hi,
I need to put a tab canvas on a content canvas in 10g R2.
and have items from the same data block distributed across the canvases.
I have set them up with the appropriate viewport for the tab canvas, but at runtime, the tab canvas does not appear untill an item on it gets the focus.
Both canvases are set to the same window.
I'm sure this is possible and I think I have done it before but for some unknown reason can't seem to remember how !.
Thanks in Advance
Regards,
Tony GarabedianHi Steve,
Yup, it is definitely related to the window, if the window is the form's console window and the window is the first window created in the form (default window created with the first canvas mostly WINDOW1) the tab canvas is behaving in that way.
Create a new window and make sure that this window is not the console window and the behavior is very much normal, the tab canvas appears as soon as the window gets focused.
This what I have found out for now, if later testing shows anything else I'll post the results.
Regards,
Tony Garabedian
I just added a stack canvas on that same window and the problem returned....
So I rearranged the canvases, and purposely set the canvas on the console window, it worked, so now it seems that the problem appears if you have a stacked canvas AND a tab canvas on the same window.
Hope this ain't a bug it sure looks and acts like one though.
Message was edited by:
Tony Garabedian -
How to create tab canvas from content
Hi,
I have created a form which has one content canvas and multiple stacked canvases. The content canvas displays the first page and then we hv to click on next to go to the next stacked canvas and so on. I want to try making it in tabs (tab canvas) and then I will decide which one looks better and performs good.
Can you guys please give me a detailed instruction on how to convert my content and stacked canvases to tab canvases. I have never done tab canvas. I tried one, I changed one of my present stacked canvas to tab but all the fields and texts were gone and there were just two tabs in it.
Please suggest. Thanks in advance.I will do so:
I will create a blank tab canvas and then I will cut and copy in every tab page the frame of the content canvas
A tab page for every content canvas
Regards -
FRM-13002 : Stacked and Tab Canvas must be created within Content Canvas
Hi,
I have a Tab Canvas with 2 pages on it.
In one of the pages the data to be displayed will be
out of the region(size or length) of that page.
I read in this forum for the same problem, the
member had suggested to use a Stacked Canvas on that
Tab page alone and enable the scrollbars of the stacked canvas.
When I drag and drop a stacked canvas on a tab page
of the tab canvas I get the following error:
FRM-13002 : Stacked and Tab Canvas must be created
within content canvas.
Any help is appreciated.
Thanks in advance
SharathHi,
I am breaking my head over this.
I am still unable to solve this issue.
========The Requirement is as follows :===========
When I select a Tab Page of a Tab canvas, I get a
combo box with items in it. When I select an item from
the combo box, based on the item selected, I am
retrieveing the data from the database and displaying
it in that Tab Page itself. This data is in a matrix
format. i,e Has a number of rows and columns.
Without a Horizontal and a Vertical Toolbar attached
to the Tab Page I would be unable to view all the records
that are displayed on that Tab Page.
Any suggestions or examples is most welcome and
appreciated.
NOTE : ALso in what situations can we use a stacked
canvas, if the designer does not allow me to
use it with other canvases?.
Thanks in advance
Sharath. -
i created a tab canvas inside a content canvas, but after that, i want to create a new empty canvas by clicking the canvas node ,then "+" , but it always gave me a new canvas with the tab canvas in it as default. this problem happens when i use tab canvas , if i just use other items i.e. text, button,list, i can create a new empty canvas. Thanks.
I don't quite understand the steps you took to be able to recreate the problem. But you can change the canvas type of a canvas from the property palette.
-
Master block content canvas and Detail Tabbed Canvas...
Hi All,
I am trying to create master block content canvas and then detail block on tabbed canvas.
How i can view these two canvases together ?
these two canvases opening in separately in layout editor...how i can show them both in one window..???
Please some advice on this ..
Thanks,Hi
these two canvases opening in separately in layout editor...how i can show them both in one window..???it's just a matter of x & y issue ; pls increase the y position of the tab canvas to move it downward (straight lower down the content) minimize the tab w & h if necessary just for temporary adjustments form design.
By this way u would control the design layout of the two canvases.
Hope this helps...
Regards,
Amatu Allah
Maybe you are looking for
-
Hi , I am not able to deploy a bean. I can see a yellow patch/mark in xBean under ejb-jar.xml.Also in the packages under ejb-module.xBean.java also has that yellow mark.However EAR looks fine. There is some problem with the bean but I am not able to
-
I need to sync my laptop and iphone with my bosses laptop and iphone. We need to be able to have access to the same files. Any suggestions?
-
Consuming a webservice from a portal service...
Hello all, I am playing around with the example code for imlimenting a federated search (found in the km section) and was trying to use a webservice call to google as an example of a the federated search. I generated a client side portal service (fro
-
ABAP Routine in the InfoPackage
Hello, I need to write an ABAP Routine in the infopackage to populate the selection conditions automatically. Coding is for Fiscal year/Period and it should be populated as LOW - Pervious period and HIGH - Current period. I tried to do the coding mys
-
Help with Re-Installing Itunes on Windows XP
Somehow my Itunes was removed from my computer. I tried re-installing it by going on apple.com and downloading it. It starts to guide me through the re-installation process but a series of error messages come up disrupting the installation process: "