Use of show_view

I'm using the SHOW_VIEW command to display some stacked canvases on a window. They are for information only so have no input fields.
What I am finding is that a canvas appears if I issue SHOW_VIEW from a checkbox trigger but when I issue it from a button trigger the canvas is not displayed. I only have one window and three canvases. Are there any restrictions in using stacked canvases?

if you show a canvas which overlaps an item which has the focus, then the canvas cannot be displayed.
is that your case?

Similar Messages

  • BOSSY STACKED CANVAS

    I have a simple form with two canvases, one content and one stacked.
    When I run the form, the stocked canvas always displays first despite having the property 'display on entry' set to 'no'.
    I have only encountered this problem having converted the form from version 4.5 to version 6i! It worked fine in version 4.5!
    What am I missing??

    Maybe, while opening your form, you're navigating to an item on the stacked canvas as first action (or you have no navigable item on the content)...
    Check out what happens using hide_view/show_view built-ins.
    Bye Marco

  • Another canvas related question

    Here is my scenario:
    I have content canvas (say CC), a stacked canvas (SC) and a tab canvas (TC). On the CC, I have the TC always showing in the bottom half. In the upper half of the CC, I have some text items, list items etc always showing.
    When the user selects certain options of the drop down lists in the CC and/or TC, I want to display the stacked canvas(SC) while still displaying the TC in the bottom half of the CC. SC has only a text item and an ok button on it. This text field is to capture the comments of the user. What I am trying to accomplish is to capture the user comments from the SC, assign it to a data block item when the user clicks on the 'ok' button on the SC and then hide the SC. Since there are multiple drop down list items in the SC and TC, I plan to re-use the same SC to capture the comments. Don't know if this is a good way to do it and if it can be accomplised or not. Any suggestions/ideas are appreciated.
    The issue that I am facing is when I display the SC upon changing a list item in the CC, then the TC
    disappears.Neither does the SC appear with the text box and the ok button on it.
    1. I am using the show_view to display the SC.
    2. For the SC properties itself, I set the
    Raise on entry =NO, '
    visible = 'YES'
    3. All the canvases share the same WINDOW
    4. My canvases are ordered in the following order
    SC
    CC
    TC
    5. Using forms 6i.
    Pardon my ignorance about the workings of the canvases (I always struggled to understand how the various canvases work). Also, these questions were probably asked many times before....but figured might re-ask. Pls. excuse my laziness in this regard.
    Questions:
    1. Can I have all the 3 canvases showing at a same point in time? (does reports allow that?)
    2. Has any one implemented what I am trying to accomplish? If yes, how did you do it?
    Edited by: Megastar_Chiru on Jul 13, 2010 11:30 AM
    Edited by: Megastar_Chiru on Jul 13, 2010 11:33 AM

    If the "TC" disappears, maybe the SC overlaps it.
    If the SC isn't displayed, try using a GO_ITEM('THE_TEXT_ITEM'); instead of using SHOW_VIEW.
    Another option might be:
    Create a second form and put the "comment-field" on a canvas in that form. In the WHEN-LIST-CHANGED-trigger where you actually show the SC, do a CALL_FORM to that new form to capture the users comment and proceed when the called form is ended.

  • Menu with canvases!!!

    hi all,
    i have got a problem with canvases.I use one window all canvases.I try to make a menu with canvases.I have more
    than one canvases.One is vertical canvas for menus on the left,Stack canvases for
    their submenus and a content canvas for other operations.I use buttons for menus.
    My submenus' buttons are on a stack canvas.When I pressed a button on vertical
    canvas,I only want a stack to appear at that time.The others must not appear.
    I created my stack canvases on my content canvas at design time.There isnt any
    problem at design time.I use hide/show_view built-ins on my module PLSQL.In WHEN-NEW-FORM-INSTANCE
    trigger,I want to hide all canvases at start time.But,when I did this,one stack canvas
    has appeared the whole time on my content canvas as it is the last one that I created.
    I searched on OTN and net but there is no satisfactory answer with my problem.
    Can I play with canvases like this or not? Pls let me know any idea.
    Regards.

    hi Andy,
    thanks for reply..I partly solved my problem.First of all,I used separate block for my each menu's buttons.Then,the last stack canvas remained on my form.I collected buttons of my all menus in one block.Now, it works.The PJC logic is also a way to do it.But, system configuration cannot be enough power.So,I am trying to stabilize system by doing that.
    But another small problem occured.I used open_form built-in for each form.Also,I reached menus while the form was still open.But,I want one form is open.When I pressed the same menu button,the second form isnot open if the form is still open.
    Do you have any idea for this.
    Thanks.
    Kerem

  • Toolbar Disappears

    Hi All!
    I created a Forms 6i, being 3 blocks and 2 canvas. First and second blocks are base table, the third block is a toolbar. When I move (for KEY-NXTBLK or GO_BLOCK) from the first to second block (this is in one stacked canvas) the toolbar disappears. I already tried to use the SHOW_VIEW, but nothing happens. What it could be?
    Thank's for help-me!
    William Toyama
    [email protected]

    U have to use
    Show_view
    go_block
    I created a Forms 6i, being 3 blocks and 2 canvas. First and second blocks are base table, the third block is a toolbar. When I move (for KEY-NXTBLK or GO_BLOCK) from the first to second block (this is in one stacked canvas) the toolbar disappears. I already tried to use the SHOW_VIEW, but nothing happens. What it could be?
    Thank's for help-me!

  • Main canvas with stacked canvas

    Hi,
    I have to modify a form in which i have a main canvas which should have 2 stacked canvas,
    in the layout i can see the two stacked canvas but when i ran the form, i see only one stacked canvas,
    do you have any idea on the root cause?
    Thank you and any help will be appreciated.

    ...in the layout i can see the two stacked canvas but when i ran the form, i see only one stacked canvas,do you have any idea on the root cause?>
    If you want both stacked canvases to be visible, you have to explicitly display them using the SHOW_VIEW('CANVAS_NAME') built-in. Yes, Forms will typically display the canvas an item is assigned to then navigation to the item occurs, but it is sloppy programming to rely on this.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Window Visibility Issues

    I have a form with two windows. The main form has a main canvas and two stacked canvases. On one of the stacked canvases there are keyboard navigable elements. I also have another window that is used as a calendar data selection. My problem is that when the form loads the calendar window is visible even though I have not explicitly told it be visible. I only want to show this window when a button is clicked so that the user can select a data from the calendar.
    I have checked the main form and it DOES have navigable elements so I am not sure why the other form keeps popping up upon form load.
    Any ideas? I am using Forms 10g
    Thanks...

    hi ,
    use the show_view,hide_view properties in the button and also when the fom is called use hide_view property for the canvas you want to hide.

  • How to show two canvas at same time

    i have a button, click on it to show 2 view. I use show_view to do that but it just show only one.
    Could you help me, im working on 12R, form builder 10.1.2

    better to trim the certain portion of the first canvas and use a show_view function to display the second one.
    Regards
    Rajat

  • How to use multiple Windows in a module in oracle forms

    Hi,
       I am new in oracle forms.I am using oracle forms 11g with weblogic server 10.3.5 at windows7.I have 2 canvases say CNVS1 & CNVS2 and two windows as Window1 & Window2.
    CNVS1 is attached with Window1 and having BL datablock.
    CNVS2 is associated with Window2 and having emp datablock.
    In navigation object window there is BL datablock before Emp datablock.
    When I run this module:I got only CNVS1 canvas at window1,If I click at Window2 from menu then Window2 Comes with empty, there is no any canvas(CNVS2) at window2.Please let me know what is wrong here.
    Thank You
    regards
    aaditya

    Hi Aditya,
    Just user Show_view('Your Canvas Name');
    If you have separate datablock for each of your canvases then you can use
    GO_BLOCK('');
    GO_ITEM('');
    Hope this will help you,
    Regards,
    Soofi

  • How to use stack canvas in tab canvas in oracle forms

    hi all,
    how to use stack canvas in tab canvas in oracle forms. please if any one help out in this.

    Hi
    u can simply create a button in ur tab canvas in this button pls write the following as an example...
    SHOW_VIEW('STACKED_CANVAS');
    GO_ITEM ('SAL'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    HIDE_VIEW('TAB_CANVAS');In order to return back to ur tab_canvas pls create a button in this button pls write the following...
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('TAB_CANVAS');
    GO_BLOCK('EMP');
    GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    Hope this helps...
    Regards,
    Abdetu...

  • Show_view of stacked_canvasses synchronisation lost

    Hi all,
    I have a form with a multi-record block. Depending on the type of a queried record in the multi-record block (block A), i use show_view to show detail records (Block B,C,D). So the block A is the master block, and the detail blocks B,C, D are presented on 3 stacked canvasses. The show_view is programmed into the When-New-Record-Instance of Block A. When i navigate through the records in Block A, i don't see records in the stacked_canvasses that are shown through the show_view. The relationships between master en details are all auto-query, so there should not be a problem. Although when i show the EVD_ID of the master record and the EVD_ID of the child_record (foreign key), they er different. When i switch in the master block from EVD_ID 12 --> 13 --> 14 --> 15 -->13 the detail block shows me the EVD_ID null --> 12 --> 13 -->14 --> 15 . So the detail records are "one step behind". When i click in the stacked_canvas, the EVD_ID switches to the EVD_ID of the master block and the records are visible. Anyone knows something about this problem? By the way, we also use QMS-libraries with this forms, maybe in there there is a problem.
    Kind regards,
    Dave

    I tested with tab-pages also...gives the same error result.
    Synchronize also has no effect.
    I created the page through Designer en generate the form.
    Debugger, gets me totally nuts, while using QMS with it, there are alot of statements that come around.
    I'm now searching/trying for a work-around, that i navigate in the when-new-record-instance to the detail block,and then query. The problem is than getting back to the previous block where i started. I guess i can't do this by returning to the field i came from (go_field(' ..')), because when i then use the scroll bar (4 records are shown on the screen, and 7 records are available) the cursor and the current record indicator can be in a different record.

  • Show_view

    Hello
    i have 3 content canvases 'MAIN_TAB_CANVAS' & 'TABS_CANVAS' on MAIN_WINDOW
    and 1 canvas 'SURVEY' on window1
    when calling the 'SURVEY' canvas it displays successfully but on hiding it ...
    and showing the 2 canvas 'MAIN_TAB_CANVAS' & 'TABS_CANVAS' it crushes
    b u t if i put the pause an Acknowlege msg pop up & says Acknowlege and displays everything correctly
    hide_view('SURVEY');  -- canvas 2
    show_view('MAIN_TAB_CANVAS');
    go_block('PJ_PROJECTS');
    GO_ITEM ('PJ_PROJECTS.PROJECT_ID');
    PAUSE;
    show_view('TABS_CANVAS');
    go_block('PJ_CR_OLD_ITEMS'); 
    GO_ITEM ('PJ_CR_OLD_ITEMS.ITEM_NUMBER');pls help me
    Regards,
    Abdetu...
    Edited by: Abdetu on Dec 14, 2010 8:03 AM

    One common problem I see in Forms coding is that too many times developers rely on implicit behavior and refuse to add the actual code required to perform some task. Another common problem is backward logic. Regardless of what does or does not work, it only makes sense to code logically. This is a good example. Knowing that Forms relies almost exclusively on cursor positioning in order to execute tasks, doesn't it make sense that the form must always have a place to locate the cursor?
    Notice in your code how you first HIDE the current view before showing the next. Consider what must happen internally when done this way... If the cursor is currently on your "Survey" canvas and you decide to close it, the cursor becomes abandoned. This forces the Forms internal processing to now have to waste time trying to determine where to safely move the cursor. Often, this becomes problematic, as you seem to have now noticed. The safe and logical way of closing and opening a canvas is to consider the cursor at all times. So, I would argue that the preferred way of moving from canvas to canvas while hiding one would be something like this:
    show_view('MAIN_TAB_CANVAS'); -- First, display the target
    GO_ITEM ('PJ_PROJECTS.PROJECT_ID');  -  Move the cursor to the target location
    hide_view('SURVEY');  -- Hide the original canvas
    SYNCHRONIZE; -- optional as neededThe behavioral appearance may change slightly as a result, but once tweaked properly, the application should likely perform in a more stable manner.
    Having said that, you may be hitting a bug. Be sure that you are using the latest patched release. The latest supported releases are:
    10g Release 2 - 10.1.2.3
    11g Release 1 - 11.1.1.3

  • Using the area beside tabs

    I have a normal tab page (with tabs along the top). There is plenty of spare space to the right of the protruding tabs and I wanted to use it to display something.
    I cannot create anything in that space so I tried a stacked canvas. Using show_view in W-N-F-I displays it OK
    but it disappears when I select any tab. Repeating the show view in W-T-P-C does not work.
    Has anyone else tried and/or suceeded in doing this ?
    (Second attempt to post this due to server error - apologies if it duplicates)

    At first glance, it works (in a simple form!) if 'when-tab-page-changed' trigger contains something like:
    go_block('SOME_BLOCK'); -- forces tab control to loose focus
    Without 'GO_BLOCK', the staked view disappears when tab page is changed because the TAB remains focused.
    My simple form has just a main content canvas, a tab canvas and a small staked canvas (on the right of the tabs), each of them contains items of different data blocks.
    GB

  • Using System variable built-ins

    Please suggest built-in to use in when-button-pressed trigger to navigate to block items
    depending on which block the form is in. I used :system.cursor_block but nothing happens
    when I click on button with it.
    For button with when-button-pressed trigger I have
    Declare
    curblk varchar2(30);
    Begin
    curblk : = :system.cursor_block;
    if curblk = 'block A'
    then go_item('blockA.itemA');
    show_view('blockA_canvas');
    elsif curblk = 'blockB'
    then go_item('blockB.itemB');
    show_view('blockB_canvas');
    elsif curblk = 'block C'
    then go_item('blockC.itemC');
    show_view('blockC_canvas');
    end if;
    End;

    What are you trying to achieve? Based on your code example, it looks like you want to navigate to a specific item (say the first navigable item) in block if the user clicks on a button.
    As to why your code doesn't work, I'm going to guess the reason nothing is happening is because you have the "Mouse Navigate" and "Keyboard Navigate" properties of your button set to YES. If this is the case, when you click on the button forms actually navigates to the button. This happens before the trigger behind the button is executed. Therefore, the cursor is always on in the block where the button is defined. If you want the button to evaluate the block/item of current item, set these properties to NO.
    Aweiden is right, SYSTEM variables are stored in Upper Case and spaces are not allowed.
    Hope this helps,
    Craig...

  • How do I use Edge Web Fonts with Muse?

    How do I use Edge Web Fonts with Muse - is it an update to load, a stand alone, how does it interface with Muse? I've updated to CC but have no info on this.

    Hello,
    Is there a reason why you want to use Edge Web Fonts with Adobe Muse?
    Assuming you wish to improve typography of your web pages, you should know that Muse is fully integrated with Typekit. This allows you to access and apply over 500 web fonts from within Muse. Here's how you do it:
    Select a text component within Muse, and click the Text drop-down.
    Select Add Web Fonts option, to pop-open the Add Web Fonts dialog.
    Browse and apply fonts per your design needs.
    Muse also allows you to create paragraph styles that you can save and apply to chunks of text, a la InDesign. Watch this video for more information: http://tv.adobe.com/watch/muse-feature-tour/using-typekit-with-adobe-muse/
    Also take a look at these help files to see if they help you:
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-1.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-2.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-3.html
    Hope this helps!
    Regards,
    Suhas Yogin

Maybe you are looking for

  • Changing Oracle Report Output Format at runtime

    Dear All, I've custom Oracle Report in Oracle Apps., and would like to give the users an option to select the output format (XML, TEXT, PDF, etc.) whilst submitting the request. As a SYSADMIN, we can modify the Output Format value of the concurrent p

  • Homesharing - struggling with different accounts on same computer

    Hi - hope somebody can help with this. Could you talk me through how to set up homesharing on the same computer for 3 different accounts (me, wife and son - the latter with parental controls). I've tried turning on the homesharing function and the "l

  • Is there a way to print using a canon bjc-85 with tiger?

    i have just installed tiger and now my canon bjc-85 printer doesn't work with it. i have read the thread discussing this problem, and i'd be very grateful uf anyone can tell me in simple language how i can overcome this apparent incompatibility? kind

  • Why is the metadata being removed when I export videos from Lightroom?

    I have a video with several virtual copies each trimmed to play a different clip from that file. Each of those clips (virtual copies) is tagged according to the content. I then export the clips with the intent of deleting the original file (which is

  • JDBC form connection - (Newbie)

    I can't connect to a database(jdbc-odbc Bridge) using "JDBC form connection". I can connect manually, but not with the wizard. WHY?