Canvases Arrgg!!

Hi, I'm trying to figure out why when I make two canvases under the same form....the first canvas always comes up in runtime? why is this...how do I make the other canvas visible when I load it? Or can I make both canvases show up on the same form?
If you could help that would be awesome.
thanx,
Mark

The canvas where the current item is has to show. Then, you may use hide_canvas and show_canvas.
You usually have one content-canvas for a window and none, one or several stacked canvases for that same window.
I think this should help.
Still, there are some bugs as to windows & canvases (at least in Forms 5.0 I work with).
Anyway, Forms gives here and there a couple of hick-ups in the GUI, but still >90% works.
null

Similar Messages

  • Content, Tab & Stacked canvases contd...

    I posted a question in the last week about putting a stacked canvas (say S) on a tab canvas(say T) and both of them on a contenct Canvas (say C). I was able to do that with valuable suggestions from gurus here.
    Now my issue is as follows:
    On my stacked canvas there are items from 3 different blocks (say B1,B2 & B3)along with scrollbars. This stacked canvas appears in the 1st tab of the tab canvas T. The form, now appears as if there are 2 sections: The top portion has items(store, city, state) belonging to STORE block. Bottom portion are the tab/stacked canvases.
    I set the block STORE's navigation style property to 'Same Record'. The idea is when the user keys in a store (store field) or selects a store from the drop down list of stores, it should navigate to the next text item 'city'. However, it is not navigating to 'city' eventhough that is the next item in that block. I have a when validate item on the 'store' text item. Can I use "Go_ITEM('STORE.city')" in that WVI ? If not, then how do I make it navigate to the 'city' text item?
    Thanks,
    Chiru
    Edited by: Megastar_Chiru on Dec 28, 2009 4:44 PM

    There are three ways (at least i know of three) to manage navigation from one item to another one:
    - If navigation should take place "inside" a block from one item to another one, put them in the appropiate order in the object-navigator. Also make sure, that the "destination item" has its Keyboard navigable property set to true.
    - If navigation should take place "inside" a block from one item to another one, but you can't use the order in the object-navigator, use the properties "Next Navigation Item" and/or "Previous Navigation Item" at itemlevel to control the navigation.
    - If navigation is conditional or should go to items in other block, use the KEY-NEXTITEM and KEY-PREVIOUSITEM-triggers and do a GO_ITEM('DESTINATION_ITEM'(; in it

  • How can I remove all the drawing canvases from a Word file?

    Hi,
    There are many drawing canvases in the document, which were created by pressing 'edit' on embedded EMF files.
    I would like to replace the embedded figures with object references, so I searched for a way to delete all the drawing canvases but couldn't find the result.
    Is there a macro that will delete all the drawing canvases in the document? Or, is the drawing canvas defined as an object type at all?
    Thanks in advance.

    Hi,
    According to your description, do you want to change the shapes or other content's figures with object references of the drawing canvases in Word?
    If you need to use a macro, I recommend you post the question to MDSN forum for Word:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=worddev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Calendar doesn't work with tab canvases

    If you generate a form (at V6) which has tab canvases on it, & also has a date item with LOV against it, you hit a problem with Headstart code's handling of the canvases. If you use the calendar LOV, when the calendar pop-up is de-activated, the tab canvases have disappeared from the main window.

    Lauri
    I went back & had another look at this, & realised that it's the same forms problem I was hitting with the combination of multi-select LOV and spreadtables. It's only happening when the calendar LOV is fired on a block which has a spreadtable, & where the next block on the form is a tab canvas. Is there a bug number for this problem, so I can track it? Thanks for the solution you provided earlier, but we're doing 100% generation here so I'd rather not be making post-generation changes to code.

  • Question reagarding stacked canvases

    Hi,
    I have a problem. We have created forms in 4.5 now we are migrating to 10G. In 4.5 we have created a form that replicates Tab Canvases; but 4.5 does not have Tab functionality so we tried to do it by using stacked canvases.There are 4 stacked canvases. One of them has horizontal scroll bar. We have a trigger when mouse click which fires depending on the x and y position of the mouse (which will be similar to When-Tab-Changed trigger). This mouse click trigger works fine as long as I moved to three canvases which do not have horizontal scroll bar. Once I click on the forth canvas that has Horizontal scroll bar, I cannot leave the canvas. My mouse click does not fire any more after I enter into the forth canvas that has Horizontal scroll bar. So, I removed the h.scroll bar and it works fine. Does any one have any idea how to solve this.
    Very urgent. Need help please.
    Thanks in advance.

    I'm not sure whats causing the problem you describe, but it wouldn't take long to actually replace the 4 stacked canvases with a tabbed canvas, it might be quicker to do that than to try and figure out the problem you are experiencing.
    I'm not sure if you've used the stacked canvases before but they are really simple.

  • Tabs and stacked canvases ...

    Why are tab canvases effectively implemented as stacked canvases? It seems crazy that you have to first create a "content" canvas (which will never have any items placed on it) on which to display your tab canvas!
    I want to create the layout where I have a stacked canvases (scrolling spread table) positioned on one of my tabs. As a stacked canvas is attached to a "window" there appears no way to tell forms that this stacked canvas applies to say the first tab! So when I go to the second tab, the stacked canvas is still visible!
    Do I have to write canvas manipulation code to manage this?? Am I going to get it to work??
    It all appears like the forms group has taken a quick (and dodgy) approach to "finally" implementing native tab functionality! (even the case tool won't generate this layout)
    I shouldn't have to write code to do this!

    Hi ,
    Did u ever get any answer from the Forms - group? I am having problems with stacked item groups displayed on a tab page. Mouse navigation on that same tab page or even shift-TAB results in dissapearance of the stacked item groups.
    Can U help?
    Greets Aschwin

  • Hidden stacked canvases blink

    Hi!
    I have Forms 6i and I have a program with 3 tab pages. On the first tab there is master data block, the second and the third tabs are detail blocks. On both second and third tab I have two stacked canvases, let's name them can21, can22 (on the second tab page) and can31, can32 (on the third tab page).
    I used show_view and hide_view commands to show/hide stacked canvases as needed. But when I am on the first tab page and when I, after executing a query, go to the next (or previous) record, when I reach a record which contains some data in detail block on the third tab page, canvases can31 and can32 appear. I hide them on when-new-record-instance, but at first, they blink for a moment and then disappear.
    Any idea how to avoid that blinking?
    Tnx in advance.

    Debugger showed my error. I had show_view commands for can31 and can32 on POST-QUERY trigger on detail block for third tab page and that caused blinking. I thought in one moment I needed those commands, but I see now they are sufficient.
    Tnx a lot!

  • Help! - Stacked canvases disappear

    Using Forms 6.05. Have content canvas with 2 stacked canvases which I want visible at all times. Have 2 large data blocks requiring horizontal scrollbars on the stacked canvases. Have put the identifier column from each of the data blocks on the content canvas so they remain static and visible while the user scrolls horizontally thru the remainder of the data blocks. Have also put the vertical scrollbars for the data blocks on the content canvas so they too remain static and visible when scrolling horizontally. PROBLEM: When content canvas 1st displays, stacked canvases are visible and data blocks are populated. If the first user action is to manipulate the scrollbar, the stacked canvases disappear. However, if the user clicks on a data block item first and then manipulates the scrollbar, the stacked canvases remain visible. HELP! I can't figure out what is happening and how to fix it. Any info is appreciated.

    The canvases have to be ordered in the Forms definition in the order they overlap each other on the screen, i.e. content canvas, stacked canvas, stacked canvas.
    Use show_view and immideatelly go_block built ins, where the block is a block from the stacked canvas.
    The items shown on the stacked canvases have to be separated in different blocks, where you have to declare the scrolbares.
    Joseph
    null

  • Calling stacked canvases from tab pages

    Hi,
    I am creating custom forms from TEMPLATE.fmb in Forms Developer 6i. The main form has various tab pages on a tab canvas for different functionalities. Now, I have some very large stacked canvases which I want to be called by clicking on a tab. Most of the tab pages fit in the given dimensions for the tab canvas but the bigger ones are a problem. Please help me in trying to link those canvases with the tabs on the canvas.
    Thanks.
    [email protected]

    Use When-Tab-Page-Changed trigger.
    If :SYSTEM.TAB_NEW_PAGE = 'TAB1'
    then
    show_view('view_on_tab1');
    elsif :SYSTEM.TAB_NEW_PAGE = 'TAB2'
    then
    show_view('view_on_tab2');
    end if;

  • How to change content/stacked canvases to tabs

    Hi all,
    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 have about 10-12 canvases, 1 being content and the rest being stacked). I now want to make all those canvases as tab canvas so that it can be very easy going to any canvas. Right now, at runtime, if I'm on the 8th canvas and need to make some changes in the first canvas, I have to click on the back button all the way till I reach the first canvas. So I desperately need to change my canvases to tabs.
    Can you guys please give me a detailed instruction on how to convert my content and stacked canvases to tab canvases. I have never worked on 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 to all in advance.

    Thanks for replying. I just need to move the items to the new tab canvas but everything else would be the same, right. I mean, will I need to write new codes? Can you point me to any documentation on this. Thanks.

  • How to change content/stacked canvases to tab canvas

    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.

    Might get a better response in the Forms forum...
    Forms

  • Disappearing Canvases Any Ideas?

    On my form the screen is split into two canvases, one contains system information (basically two text fields) this canvas (stacked) is displayed on every form in the system.
    The main part of the screen is a content canvas which holds the tree view and other items. When I click on the tree view (and only when I click on the tree view) the stacked canvas disappears for no apparent reason. Any ideas why this could be happening?
    I can click anywhere else on the content canvas and nothing happens but as soon as my mouse is clicked within the tree view my stacked canvas disappears. Any ideas?

    I have placed a trigger - WHEN-MOUSE-CLICK - on the
    tree within it has the code:
    -- Heading canvas disappears - currently
    unexplainable
    DECLARE
         v_id ViewPort;
    BEGIN     
    --     v_id := Find_View('Heading');
    --     Set_View_Property(v_id, VISIBLE, PROPERTY_TRUE);
    --     Show_View(v_id);
         show_view('heading');
    END;
    I tried both methods hence the commented out code.
    This trigger was added to try and solve the problem
    of the canvas disappearing, hence doesn't affect it
    being displayed.
    Even if I remove the trigger the canvas still
    disappears.
    Any further ideas?Remove all codes with show_view, hide_view in your form.
    Set raise-on-entry property to N of both canvases.
    Add
    show_view('name of content canvas');
    show_view('name of stack canvas');
    in when-new-form-instance trigger.

  • Mutiple Canvases Single form

    Hi,
    I'm facing a problem of having multiple canvases(3) in single form.
    I've two Data blocks(Master & Detail). Master having one canvas. But details have two different canvases.
    I've created 3 different menus for 3 canvases.
    say Master,Detail1,Detail2. Now the problem is when i try to open detail1 or detail2 from oracle apps menu it opens master canvas only.
    i've created functions in apps & in NEW_FORM_INSTANCE trigger coded like
    If (fnd_function.current_form_function = 'CRM_FC_PPC') then
    GO_BLOCK('CRM_CUSTO_FORCAST_DET');
    SHOW_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    HIDE_VIEW('SHIPPING');
    Elsif (fnd_function.current_form_function = 'CRM_FC_SHIP') then
    SHOW_VIEW('SHIPPING');
    HIDE_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    Else
    SHOW_VIEW('CUST_FORECAST');
    HIDE_VIEW('PPC');
    HIDE_VIEW('SHIPPING');
    Go_item('CRM_CUST_FORCAST_HDR.CUSTOMER_ID');also my master canvas is Content & details are stacked. should i create different windows for details canvases ? i also did that but failed.
    what could be the solution here ?
    Forms 6i
    DB 9.2
    Regards

    Hi,
    Sorry for delayed reply.
    Francois,
    I've tried with go_item but it doesn't worked. i knew it & tried it before asking here. but thanks anyway.
    Ahmed,
    i've only one window show all these canvases.I'm now trying with multiple windows.
    The code is as follow
    If (fnd_function.current_form_function = 'IRS_CRM_FC_PPC') then
         GO_ITEM('IRS_CRM_CUSTO_FORCAST_DET.CUSTOMER_ID');
    Set_window_property('CF_PPC',VISIBLE,PROPERTY_TRUE);     
    Set_window_property('MAIN',VISIBLE,PROPERTY_FALSE);     
    Set_window_property('CF_PPC',TITLE,'IRS CRM PPC Details'||:global.div);
    GO_BLOCK('IRS_CRM_CUSTO_FORCAST_DET');
    SHOW_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    HIDE_VIEW('SHIPPING');
    Elsif (fnd_function.current_form_function = 'IRS_CRM_FC_SHIP') then
    SHOW_VIEW('SHIPPING');
    HIDE_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    Else
    SHOW_VIEW('CUST_FORECAST');
    HIDE_VIEW('PPC');
    HIDE_VIEW('SHIPPING');
    Go_item('IRS_CRM_CUST_FORCAST_HDR.CUSTOMER_ID');Regards
    PS. Master is Content & details are stacked.
    Edited by: user10569054 on Apr 5, 2010 3:10 PM edited for canvas details

  • Is there any way to get the canvases names on the form

    i have a form in Orcle 6i
    i want when the form load i get the names of the Canvases on the Form automatically
    to change their visual attribute
    is there any way to get the name of the canvases on the form automatically
    Thanks in advance

    The amount of time to evaluate each item in a Form is a lot less than you think. You are dealing with milliseconds. Worse case scenario, you might add 1 second to your form load time.
    I think Francois's suggestion is the best solution, but if this is still too much time, you might concider creating strategic When-New-Item-Instance triggers on an item in each of your canvases that would perform what you want to do.
    This will most likely cause problems of its own, but it is an alternative.
    Food to get the thought process flowing... :-)
    Craig...

  • Corrupt canvases

    I have inherited a large database and front end created in Forms Builder 6i. I now need to edit some of the detail in the forms, but have found that two of the canvases have become corrupt. At least this is the impression I have formed. If I try to compile the form with these two missing, the only error message I get is that the system can't find them. If I try to edit the canvases in question, the whole Forms Builder package shuts down and delivers a Windows message asking if I want to let Microsoft know about the problem.
    What I need to know is if there is any way to sort out these two canvases without having to completely rebuild them (they are substantial).
    Any help would be appreciated.

    Sorry this reply took so long.
    I followed the advice given by Francois Degrelle, by just recreating the canvas in question. It took some time, but it works a treat.
    Thank you for all te replys, and thank you Francois for the working solution!

Maybe you are looking for

  • KBase ID 344488: Logon failed when connecting to universe in Crystal Report

    My question is related to  [KBase Article ID:344488|http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=344488&sliceId=&dialogID=24618166&stateId=1%200%2024614949] Article refers to: Crystal Rep

  • Problems with Adobe Reader X since the 10.1 Update

    Hello togehter. Since the newest Update for the Adobe Reader X (Version 10.1, released 14.6.2011) a lot of our employers in our company have the problem that only the 1. PDF opens fast, the 2. PDF take 5 to 10 seconds to open, sometimes the hole prog

  • How can I get the number of pages of a report?

    Hello to everyone, I'm writing a small app that exports a report to PDF (the app is done and everything is ok). Along with the PDF I need to create an XML file that describes the PDF file properties. One of the properties I need to supply is the numb

  • BW Bookmarks problem

    Hi All, User able to view the report thorugh the link provided in the SAP favorites, but error popups keep on coming like " Windows cannot found".How to avoid this popups? Any help would be helpfull. regards, Vijay

  • C6-00 where the regional Language Pack with voices...

    I have nokia C6-00, and phone have preinstalled 'text-to-speech' but avaibaled only English language... then i try use option 'doanload other languages' phone open web page http://europe.nokia.com/support/download-software/​text-to-speech - but in de