Hide Canvas
I have seven tab canvas in a normal canvas, and when I execute
the form, all the tab canvas appear at the same time and i don't
wont it hhapens, how can i hide the tab canvas that doesn't have
to appear.
null
If you navigate to an item in the hidden canvas
(e.g. the "tab"), that canvas will appear without
calling the "show" built-in.
One of those undocumented features - show and hide
are all very well, but navigation is more important.
To get around this, change the navigation properties
of your items or canvases.
-- allan plumb
Similar Messages
-
My form has a main canvas,over which there are 2 tabbed canvases with two tab pages each
1)1st tab canvas---A,B are tabbed pages
2)2nd tab canvas--C,D are tabbed pages
When A is pressed my second tabbed canvas should appear,whereas when B is pressed,I need to hide the 2nd tab canvas (or) will it be possible that, when I press B,a new window opens up(so that I need not hide canvas)
I am quite new to the forms,So any help would be grately appreciated..
Thank much!Hi,
To hide the entire canvas, you can use HIDE_VIEW built-in.
HIDE_VIEW('<tab_canvas_name>');To show the canvas, use SHOW_VIEW built-in.
SHOW_VIEW('<tab_canvas_name>');Regards,
Manu.
If my response or the response of another was helpful or Correct, please mark it accordingly -
All,
I am working in 11i instance, I have created a Custom Form using Template.fmb and my requirement is like this...
we have multiple canvases in one window, dynamically we have to display and hide the canvases and I have used the below code in WHEN_NEW_FORM_INSTANCE trigger but it is not working....
SHOW_VIEW('ID_CANVAS');
HIDE_VIEW('ENCLO_CANVAS');
Can someone help me....
Thanks,One more thing, I have created custom Horizontal Toolbar canvas & Vertical Toolbar canvas and assigned to the window... at runtime toolbars are not visible....I haven't worked with Horizontal or Verticle toolbars very often, however, you have to make sure you change the following properties of your Window object:
Horizontal Toolbar Canvas and Vertical Toolbar Canvas
Make sure you set these properties to your toolbar canvases that you created.
Craig... -
How to hide the window/canvas which is placed on the form?
Hi,
We have a bussiness requirement to hide the canvas/window which is present in the standard form.
The standard form already contains the Window/canvas,we want to hide it without disturbing its functionality so that it is not seen on the form when it forms.
Thans in adv.i tried above options i.e :-
1)
show_view('ORDER_BASIC');
GO_ITEM('ADDRESSSES.SHIP_TO_CONTACT_MIR2');
hide_view('ADDRESSES');
But may the block addresses resides on the canvas addresses ?
and ans to this que is ya block addresses reside on canvas addresses
2)i cant hide_window as that window has many canvases attached to it.
I am writing this code in WHEN-NEW-FORM-INSTANCE..hope its right??
Please let me know if its not the correct trigger to write the code... -
How to hide a rectangle graphic in a canvas ?
Hi all,
As we know we can draw rectangles from the tool pallette on a canvas. And I want to hide this rectangle under condition in my forms application. How can I achieve this ?
Thank you very much indeed.<p>If your purpose is to have some "framed" text area, then you could find solutions in this article</p>
Francois -
Is it possible to disable all the tabs in a tab canvas in Forms 10g?
I am developing a new form in Forms 10g. Problem is with hiding and showing tab canvases.
I have a main canvas and a tab canvas.
In the when-new-form-instance I need to hide the two tabs. I have a list item that has two values. Based on the value chosen in the list I need to show the tab canvas. How can I do it. I tried hide_view and show_view. It gives me an error FRM-41053. Cannot find canvas Invalid ID.
Help is appreciated. Thaks in advance
AnuIf you are looking to hide individual tabs on a tabbed canvas, refer to SET_TAB_PAGE_PROPERTY
http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builts/f50settppr.html -
Hi!
I've written a program in Java containing the following GUI components:
1> a menu
2> a canvas added to a JFrame at the beginning to introduce something about the program.
3>and some thing else...
But the introduce Canvas always hide the Topdown menu from being viewed.
what do I have to do to repair?
Thanks!Mixing Swing components and heavyweight AWT components like Canvas is a bad idea. You have
problems with component layering, as you've found out. What are you using Canvas for? Can
you replace it with a Swing Component? -
At times I just want to deal with the time line and hide the canvas.
Is there a way to do this?
I imagine it must be a simple thing that I'm just overlooking.
Thanks.
davidi tried above options i.e :-
1)
show_view('ORDER_BASIC');
GO_ITEM('ADDRESSSES.SHIP_TO_CONTACT_MIR2');
hide_view('ADDRESSES');
But may the block addresses resides on the canvas addresses ?
and ans to this que is ya block addresses reside on canvas addresses
2)i cant hide_window as that window has many canvases attached to it.
I am writing this code in WHEN-NEW-FORM-INSTANCE..hope its right??
Please let me know if its not the correct trigger to write the code... -
Setting VIEWPORT_X_POS hide the stack canvas
In Forms 6i i use the next command:
set_view_property(l_canvas_stack_name, VIEWPORT_X_POS, l_canvas_stack_x_pos);
when the l_canvas_stack_x_pos > 0 (in my case = 175).
But instead of move it to different x position the command hide the canvas (its disappear from window).
What can be a problem?Hi
If i try the code you modify i see only stack canvas on the window without content canvas.okey that's what i explaned previously u can comment the
-- Hide_canvas ('canvas_name');
it can't be used in When-New-Form-Instance because i as said it hides the main basic content canvas.But it will only shows the the content + Stacked and set the cursor focus in ur stacked
The procedure repaint items on the content and stack canvas according to user definition of items orders (its change item's x position and width).sorry but i can't imagine could u give me an example pls.
what i got is...
The user supposed to define items orders u mean in a store application or the oreder of items from a,b,c to say c,a,b according to what i don't know.
There a missing link here ...
Its complicate code. If you need i will post it here.i don't understand the concept or the bussiness may be i exactly can't recognize what is the problem any way here is an example that may help u...
DECLARE
vw_id ViewPort;
BEGIN
vw_id := Find_View('Sales_Summary');
Set_View_Property(vw_id, VIEWPORT_X_POS, 30);
Set_View_Property(vw_id, VIEWPORT_Y_POS, 5);
END; Hope theis helps...
Regards,
Abdetu... -
How to hide a tabpages in a tab canvas
Hi All,
I am using oracle Apps R12.2 and forms 10g version
I have Tab canvas in my page and it contain two page.
My requirement is when the user is "PROC HEAD" means the Tab_page2 is Visible and able to acces.When other user logged means the tab should be grade out.
I have tried so for is i have written my code in When New form Instance trigger
And this is my code.
declare
tp_id TAB_PAGE;
v_user_id number;
begin
select user_id into v_user_id from fnd_user where user_name='PROC HEAD';
if fnd_global.user_id= v_user_id then
tp_id :=FIND_TAB_PAGE('EXPEDITOR');
SET_TAB_PAGE_PROPERTY(tp_id, visible, property_true);
else
SET_TAB_PAGE_PROPERTY(tp_id, visible, property_false);
end if;
Can any pls correct me where i went wrong.
Thanks & Regards
Srikkanth
end;Please post your solution so others can benefit from your solution!
Thanks,
Craig... -
Hide and Show Tabs in Tab Canvas
hiiii
i have created a tab form with about 9 Tabs ... and i have a menue that will be used to show and hide these tabs .... the problem that its not working probably -->
the second tab is always appears the others change probably ... am using the
SET_TAB_PAGE_PROPERTY like this :
SET_TAB_PAGE_PROPERTY('PAYMENTS_HISTORY', visible, property_false);
SET_TAB_PAGE_PROPERTY('NEW_INSTRUCTOR', visible, property_true);You should probably use the forms debugger to trace what is going on in your menu code.
Possibly, you are encountering an error that is being suppressed or otherwise going unnoticed. If you have set :system.error_level you might want to comment this out to expose any minor error messages.
Possible errors will include spelling errors and/or trying to set the visible property of the only visible tab left.
Stepping through the debugger is the best method.
If you don't know how to use the debugger, it is well worth your time to learn it. It will save you countless hours in the long run ! -
Hello,
I am doing a program that has a JMenuBar and Canvas,
The Menu Bar shows but when i click on it the JMenuItems are not shown they are hidden under the canvas which is stretched on the frame,
when i dont add the canas the menu bar works .
Thanks for help.Don't mix AWT (Canvas) and Swing (JMenuBar) unless you have very strong reasons and know what you are doing. Instead of a Canvas, can you use a JPanel? Hopefully all is in a Swing root container such as a JFrame or JApplet.
-
Programmatically show/hide rectangle on a canvas
Hi,
is there a way of programmatically showing/hiding a rectangle on a canvas?
Thanks,
MonicaNo as such - Boilerplate objects are fixed at design time.
You could do things with stacked canvases to simulate it though. -
I have a stacked canvas, named SUBTIP. In when-new-tab-page trigger (form level trigger) i have the code:
clear_message;
if :system.tab_new_page = 'SUBTIPURI_PRODUS' then
show_view('SUBTIP');
--hide_view('INSTANTE_DEPENDENTE_MOBIL');
go_block('ACTIUNI_SUBTIPPRODSO');
execute_query;
else
hide_view('SUBTIP');
end if;In ORacle Developer 2000 (forms 5) it works ,when i change the tab page, the canvas is hided, but in Oracle Forms 10g, the canvas is still displayed. Why? The code is identical, in both version of forms.
ThanksHello,
Not sure it is a correct answer, but you cannot hide a canvas while the focus is located in one of the items hosted by that canvas.
Francois -
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
Maybe you are looking for
-
The bookmarks are all lost and all related to blog postings that I was planning to do so now cannot relocate where they all came from. When closing down I always got the window which asked if I wanted to save and quit. I downloaded 4.1 last night, ne
-
Helvetica Font Available for HP Officejet Pro L7590 All-in-One Printer
I have a client that needs to use Helvetica for the HP Officejet Pro L7590 All-in-One Printer, but we are not seeing this as an option. I assume the driver doesn't provide this font? What other options exist for using the Helvetica font with this pri
-
Can automator identify file names longer than a specified number of characters?
I have a lot of data that I need to ultimately archive to a PC solution but it currently has a lot of files with names longer than 256 characters. I know I can batch update the names with automator, but what about an easy way to identify them?? Is t
-
Problem in uploading excel file
HI , i need to upload a excel file, I am able to get records form excel to internal table, using ws_upload FM. But i m getting a # in between every fields. I have used split at '#' into field1 field2... but it is not working. Can anybody help me onth
-
Random application behaviour for different user IDs
Hi all, We are testing the standard bank application in ESS. We have made some minor field name and help link modifications in the application through NWDS. However, the application behaviour is unpredictable. For example, when I log in as user A, i