Hiding a canvas

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.
Thanks

Hello,
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

Similar Messages

  • Stacked Canvas - FRM-40202

    I having this problem with my form. I getting a FRM-40202 error when trying to run my
    form which has two stacked and 1 content canvas.I have tried hiding the canvas.
    hide_view('canvas150'); go_item('control_block.pwo_nbr');
    AURUT is the content one.
    canvas150 is the stacked canvas I don't want to see.
    AWR is the stacked canvas i would like to see.
    the data blocks are as followed:
    reports
    range1 and range 2 are associated with the canvas150.
    range 3 and range 4 are associated with the AWR canvas.
    The first problem I have is that the AURUT canvas has the canvas150 canvas on top of it
    I tried deleted the canvas150 canvas and recreated it but it is still on top.of the content one and I also have a stacked canvas(canvas150) in my form.
    I think that my form is corrupt. How can I fixed this problem without redoing the whole form? I tried created a contol_block and assigning the items to the control_block in my program unit. But I still see canvas150. I getting frm-40202 error. What I have read about this error is that a field in my canvas150 needs to be filled in before it will allowed me to continue to the next canvas(AWR). I don't even want to see canvas150 while I processing the items on AWR. I'm lost as to what i can do to fixed this problem. If I changed the field in question in canvas150 to "NOT REQUIRED" my form crashes.
    I didn't have this problem with my first stacked canvas. Introducing my second stacked canvas has cause this problem.
    Thanking in advanced

    If I changed the field in question in canvas150 to "NOT REQUIRED" my form crashes.This should not happen. What happens when it crashes? Is there an error message when the crash occurs?

  • Fill the screen is too big

    When I zoom to fill the screen the window expands under the layers panel.  Is there a way to to make it stop at the panel and not under it?

    You have a few solutions for your issue:
    1. If you're unsure about docking, on the top right hand side, you can 'Reset' your workspace.
    Photoshop > Window (on Menubar) > Workspace > Reset (Essentials) or whatever workspace you're currently on.
    If you have custom panels open in your workspace, you may want to 'Save' your workspace before 'Resetting' to a system preset. Resetting to 'Essentials' will dock all panels by default.
    2. Change your Screen Mode by pressing 'F' key while you're in Photoshop with your document open. This will toggle through 3 screen modes that PS has. The first 'F' press will go to Full Screen with Menu Bar. The second F press will go to Full Screen only (all tabs/ panels hidden).
    3. Press 'Tab' key when your document is open. This will toggle toolbar & panels on/ off. Press 'Tab' again to bring them back.
    All 3 solutions will let you work on your canvas without having to worry about a panel hiding your canvas/ work area.

  • Stack canvas is hiding...

    Hi guys.
    I have around 20 + items in a block and am showing few items in the content canvas and the remaining items in a scrollable stack canvas. Iam having show_view code in When-New-block-instance of that block.
    My problem is, when i navigate from stack canvas to the content canvas, the stack canvas is hiding.
    i.e. say my content canas has 4 items and stack has 5 to 20 items, then when i navigate from 5th to 4th or from 20th to 1st item, my stack canvas is hiding.
    Please help me in this.
    Thnx and Regards
    Sriram

    What about if you navigate from the 3rd to 4th item or from 19th to 20th? Does it happen the same? If yes, it means that the stack canvas and the 4th item(and 20th) are one below/behind each other (at least for a very small area).
    Usually this is happening when an item(from the content canvas), which is below the stacked canvas, is "navigated". Because of this, the whole stacked canvas is hidden.
    Another posibility is that some "additional" navigation happens because of some programmatic defined navigation...

  • Showing/Hiding TIMELINE and CANVAS

    I cannot make my canvas and timeline appear. I know the keyboards commands of apple command + 2 and of 3. It's not working. Any tips for a FCP newbie?
    Thanks

    Just open a sequence. If there is no sequence open, there is no reason for the canvas or timeline to be open.

  • Mapping canvas of the mapping editor doesn't display

    I don't want to reinstall the OWB, I've tried on everything on the Design Center GUI, the mapping canvas has just being hiding somewhere seeing me tearing my hair. I will almost die. But all the pluggable mappings show their mapping canvas as they did.
    I can't remember what I've done in the other day and so lose the mapping canvas, every mapping in the same module just doesn't display its canvas, all other windows (palette, explorer...) show normally.
    I've tried creating a new project and creating a mapping in it. The mapping canvas still doesn't come to the display.
    Is there any configuration file to set control over the mapping canvas as well as all other GUI elements?
    Any direction, Thanks a million.
    Oracle 10.2.0.1.0
    OWB 10.2.0.1.0
    Work Flow 2.6.4

    I solved it.
    It's in <owb_dir>\owb\bin\admin\MappingEditorLayout.xml.
    I replaced
    <SPLITTER orientation="0">
    </SPLITTER>
    with
    <DOCKABLE tag="ROOT" width="714" height="660" min_width="50" min_height="16" pref_width="714" pref_height="660" collapsed="false"/>.
    Of course, then relogin to the design center.
    It works for me.

  • Whats the difference between the Canvas types?

    When i start the layout wizard and i choose to make a new carvas, there are several types of canvas available:
    Content, Stacked, Vertical toolbar, Horizontal toolbar, Tab
    What is the difference between these types? I have tried making different types, but they all seem the same to me.
    Cheers.

    The content canvas (the default) occupies the entire Forms window it is assigned to, and is the primary canvas where data is displayed in your form.
    A stacked canvas can be used to pop-up information temporarily, in front of the content canvas. You usually display a stacked canvas based on a button press or some other activity by the user. At some point it is dismissed, so the user can again see all of the content canvas. Stacked canvases can also be used for special situations, such as hiding and displaying a scrollbar.
    A tabbed canvas is much like a content canvas, but it has multiple pages, and each page is accessed by clicking on the tab associated with that page. It is like a stacked canvas, in that it sits on top of a content canvas, but it usually remains visible all of the time.
    The toolbar canvases are simply that -- canvases that hold the toolbar with action icons for the form.

  • Regarding displaying the canvas at runtime

    hi all,
    i am using Forms [32 Bit] Version 6.0.8.24.1 (Production).
    i have three base table blocks. block 1 i am showing constantly, block2 and dblock3 showing at run time based on the poplist selection.
    when form will be opened for first time i am showing block2 canvas by setting the view position. and hiding the bllock3 canvas with the help of
    show_view('canvas_block2');
    SET_VIEW_PROPERTY('canvas_block2',DISPLAY_POSITION,0,3.7);
    hide_view('canvas_block3');my problem is when i run the form for first time the 'canvas_block3' is appearing at the position(0,0) on canvas and disappearing within the fraction of second.
    this is happening when i change the list item(which contains the code to show the canvases based on the user selection) also.
    i have written the show and hide canvases in when-new-record-instance of the block1 and when-list-changed trigger.
    I don't know why the canvas 'canvas_block3' is appearing and then disappering after a fraction of second even though i have written 'hide_view('canvas_block3');' in w-n-r-i trigger.
    Please advise.
    Thanks..

    hi,
    i have tried with default visible to 'no' but still same problem exists.
    my problem is the canvas which i am trying to hide('canvas_block3') that is appearing for a while and then disappearing(which is causing destraction on the screen)
    i am calling hide and show views in w-n-r-i of block1.
    i cannot give go_item or go_block. and i don't want to navigate to that block(block_3) .
    i want to reside on the same block.
    Thanks..

  • Stacked canvas dispalying problem

    hi am displaying multiple stacked canvas on a content canvas. i have a problem in displaying them even hiding the first canvas(B) am not able to display the second canvas(A) its still showing the first canvas(B).
    am using show_view(A) to display the stacked view while i use hide_view(B) to hide the canvas B
    almost both the stacked canvas have same fields in particular i kept the mirror fields on the stack B from stack A.
    my requirement is to display stacked canvas A or B dynamically!!
    can any one direct me with some gud solution.
    thanks in advance.
    regards,
    madhan

    Hi Madan,
    You are using correct function to do so. But you may need to manipulate.
    When you want to show canvas A or B, follow the mentioned steps:
    If you want to hide B and show A
    IF canvas b is visible then
    hide_view(B);
    show_view (A);
    go_Item (item_on_cavans A)
    END IF;
    And vice versa.
    Cheers
    Ram

  • Motion canvas on a second monitor question

    Ok, so after jumping through multiple flaming hoops to get the app store to update motion to 5.0.1 i have a question concerning one of the "improvements"
    Putting your canvas on a second monitor.  Is there a way to do so WITHOUT the toolbar going with it?  Please?  Awww come on?!?  

    Well, why?  The tool bar is full of the tools you use in the Canvas itself.  Why would you want to move them far away from the Canvas?  I don't see that it would make sense to move the tools used in the Canvas and Layers pane to a different monitor where they're NOT used.
    The F8 function also quickly switches to a really nice setup hiding the Inspector and Layers panes.

  • Hide and show tab canvas

    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
    Anu

    If 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

  • Hiding scrollbar at runtime

    Hi!
    Has anyone had any success hiding a block scrollbar at runtime.
    There is no block property that does this.
    I`ve tried to move the scrollbar out of the window, got an error message stating that I could not move the scrollbar out of sight.
    I've also tried to put an text item and a push button directly on top of the scrollbar, but the scrollbar is still shown and the text item and push button appears behind it.
    Pls advise
    regards
    Morten

    I have not tested this but you can specify the canvas for the scroll bar, so presumably you could put it on a stacked canvas and hide or show it programatically.

  • Canvas and threads

    I am currently trying to develop a simple animation for a winning sequence in an applet game. The idea is to have a thread which controls the animation within a canvas. The problem is that when the paint() method is called all other components on the applet (buttons and textfields) seem to go into hiding, and i have to randomly click on various regions of the applet to bring them into view.
    anyone got any ideas?

    If i am not wrong, if you are using swing classes... you need to add this code into your paint method.
    public void paint(Graphics g) {
    super.paint(g);

  • Interactive brush resizing should work off-canvas

    It won't work unless the brush is actually over the canvas. I can't see a reason for this.

    i still don't see any problems - it looks like Photoshop is doing what it's supposed to do
    first:
    the levels adjutsment layer was added, and  the levels were darkened, so your entire image appears slightly darker. 
    Next, you filled that same adjutsment layer with black as your foreground color, so what this did was 'hide' that darkened adjustment layer, so your image returned to normal. The darkened levels is still there on that layer, but it's hidden (by filling the entire layer in black)
    now when you change your foreground color to white (just use the color picker to chane your painting color to white), just choose a soft airbursh tool and paint on to the adjutsment layer - now because you're using white, it is "un-hiding", or showing the darkened levels and the gray smear is just the darkened levels showing through- take note of your brush opacity - make sure it's at 100% for starters. If you want that 'gray smear' to appear darker, then double click on the split-circle icon (beside the eye icon on your layer) and the levels window should show up again - then re-adjust those levels sliders again so they're even darker - you'll notice that gray smear on your image darkening as you pull the sliders down.
    The degree of darkness that the gray smear appears to be is totally dependant on how far you pull the sliders in the 'levels' panel 
    for example, you can pull the sliders all the way in one direction and the gray smear will turn very very dark, or pull the sliders the other way and the gray smear will turn very very bright (all the way up until it's actually white)
    what you're showing us looks to be total normal behavior - you might try reading up on adjustment layers to get a better understanding of what's actually happening, but there appears to be no problems with your Photoshop or your camera

  • Programmatically show/hide rectangle on a canvas

    Hi,
    is there a way of programmatically showing/hiding a rectangle on a canvas?
    Thanks,
    Monica

    No as such - Boilerplate objects are fixed at design time.
    You could do things with stacked canvases to simulate it though.

Maybe you are looking for