Hide the Canvas dynamically

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

Similar Messages

  • How to hide the canvas

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

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

  • Hide the Questions dynamically in Survey suite

    Hello Friends,
    I have a requirement to hide the questions if those are unanswered in the display mode.
    May i know how can i achieve this.
    Already i went through the linkhttp://scn.sap.com/thread/1569482
    but the thread is not having proper solution.
    Thanks for your inputs.
    Regards,
    Ravi Teja

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

  • JPaint resizing the canvas dynamically

    Hi guys,
    I am in the process of creating a program similar to MSPaint. The problem I am facing right now is how can I resize the image/canvas like in the MS Paint?? Do I need to have a multiple frame or a multiple panel inside?? Any suggestions??

    If you open MS Paint you'll know what I mean, you can resize the canvas any time you want. This is what I did so far:
    public class JPaintPanel extends JPanel implements JPaintView, ImageObserver{
         private     BufferedImage picture;
         private JPaintController control;
         public JPaintPanel(JPaintController jpc){
              picture = jpc.getImageCopy();
              control = jpc;
              UpdateListener ul = new UpdateListener();
              addMouseListener(ul);
              addMouseMotionListener(ul);
         public void paintComponent(Graphics g){
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D) g;
              g2.setColor(Color.BLACK);
              g2.drawImage(picture, null, 0, 0);
              control.drawToolActivity(g2);
         private void updateWindow(){
              super.repaint();
         }so I asked paintComponent to draw a blank image here (which is picture). However when I already draw that Image I can't resize it from the user....

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

  • 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 do I hide the Dynamic Page parameters from being displayed in the URL

    Hello,
    I am using a form to call a Dynamic Page and to send parameters to it ,
    is there a way to hide the parameters values from being diplayed in the URL
    when the Dynamic Paged is called .
    Thanks .

    Hi,
    You cannot hide the parameters in the url. The GET method works like that. You can use the POST method to submit the parameters. But in your case the POST method may be not be appropriate.
    Thanks,
    Sharmila

  • Canvas hide the menu

    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?

  • Wda How dynamic the show or hide the window

    Hello
    wda How dynamic the show and hide the window.
    thank you

    Hi Sarah,
    For any webdynpro queries , post it under Application server->Webdybnpro-ABAP OR JAVA forum.
    You can hide the entire group by binding a attribute to the visible property of the group.
    if lv_i_text is initial.
    * to set GROUP hidden
          lo_el_context->set_attribute(
            name =  `VIS_GRP`    " Attribute name in the context binded to visible property of the group.
            value =  'X' ).
    endif.
    I hope it solves your problem.
    Regards,
    Kiruba

  • How to hide the menus in Weblogic Portal?

    I have to develop a page in Weblogic Portal 10.0 that uses a portlet for the UI presentation.
    I have a requirement that the page is hidden by default. When I navigate to the page by selecting a link, I have to display the contents in that page. While displaying I should hide the portal level menus of other books/pages. But I have to display other contents like logo, etc.
    Can some one please help me on how to hide the menus in the selected page?
    Edited by: [email protected] on Apr 19, 2010 3:43 AM

    As a quick and dirty solution i would edit the navigation jsps (singlelevel/multilevel/yourcustom menu jsp) and disable the navigation for all hidden pages.
    Or create a backing file and dynamically change the navigation state on the desktop when the hidden page is requested.
    Or have the page in a different portal file if possible and set the same header and footer there as well.
    Or You could have a look at the detached portlets. These are used as popups often.

  • How to hide the all rows except the result row in a report?

    Hi Experts,
    We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
    If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are  used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised  data for every customer. Please suggest how this can be accomplished
    Regards,
    Kavitha

    Moving the char to free char will show the equivalent of result.
    Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
    To achieve this, move your char to free char (say it is 0CUSTOMER).
    For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
    This will ensure the calculation is done at detail level even though the char is not included in the rows.
    If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
    Added:
    I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
    Edited by: Ajay Das on Aug 5, 2009 8:57 AM

  • How to make the scroll bar in flex automate to focus on the new ui component added in the canvas?

    Hi all ,
    There is a canvas container where am adding charts in separate windows.
    So whenever a new chart is added the scroll bar needs to set the focus on the present chart window.
    For this i made the functionality for the canvas container to scroll whenever a new chart is added using the below code
    canvasContainer.verticalScrollPosition = canvasContainer.maxVerticalScrollPosition;
    But the calculations for the vertical position are not precise...
    Is there anything else I should do to make the scroll happen automatically as the chart windows get added in the container ??
    Any suggestions pls
    Regards,
    Ajantha

    Many many thanks to Frank,
    In the css,use the follwing style settings to hide the scroll bar
    af|carousel::spin-bar{    
    visibility: hidden;
    af|carousel::spin-h-previous-icon-style{
    visibility: hidden;
    af|carousel::spin-h-next-icon-style{
    visibility: hidden;
    af|carousel::spin-info{
    visibility: hidden;
    }

  • Changing the Column Header and Hiding the Column dynamically???

    Hi friends..
    I'm new to OBIEE field. I'm working in a OBIEE project that requires to dynamically change the column header, and dynamically hide the column depending on the prompt value.
    I know we can dynamically change the table header using the presentation variable but I couldn't do that same thing with column header.
    I searched some forums that suggest to use java script for this purpose but I'm not able to do the same also. If anyone had same issue before please help.

    toony, I'm not sure it's possible to do all that you want exactly the way you want, but here are some ideas you can pursue.
    To dynamically change column headers without javascript, check this blog out...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    As far as dynamically hiding a column, I don't think you can do this, but since you don't provide any details on how the PV is supposed to hide a column based on the value, are you talking about hiding a column for one PV value and another (different) column for a different PV value? Or are you talking about hiding one column when a PV has certain values and displaying it when the PV has a different set of values?
    I have managed to create both scenarios via a work-around, but the procedures require some writing so I don't want to put both. Please detail how you want your PV to "hide" a column or columns.
    P.S. I don't think column selectors will do the trick for you. Basically column selectors work like this: Say you have a report using Sales Region ID, Region Name, and Sales. Now let's say you want the user to choose if he/she wants to see annual sales, or quarter sales or weekly sales, etc. The column selector view would allow you to put the various columns (Year Sales, Quarter Sales, Weekly Sales) as an option the user can select. Once selected, the sales figure will change for the time period selected. For an example of how this is done, check out the section in this "Oracle by Example" link.
    Waited too long to publish this... Madan beat me to it, so there is some overlap here...
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    Edited by: LC143 on Oct 27, 2008 9:21 AM

  • Unable to hide the first page in the form

    Hi ,
    I am trying to design a dynamic form that has three pages. The form is being used in a LiveCycle process and during the process initiation, only the second page should be visible and the first and third pages should be hidden. I am trying to hide the first and the third pages using JavaScript. I noticed that the third page is being hidden but the first page gets displayed as an empty page. Based on this behavior here are couple of questions I need guidance with
    Can we hide the first page within a form? If so why am I seeing this inconsistent behavior when hiding the first and third pages?
    If the first page can not be hidden then is there a workaround to achieve my goal of re-arranging the pages so that I can add content to the first page dynamically and shift the previous content on the first page to the second page?
    Any suggestions will be appreciated.
    Thanks,
    Samanthapudi

    Hi,
    You've originally said.
    in the first page i don't want data in main window...
    yet using a command node to trigger the next page means you have to include a (presumably) empty main window in the first page.
    Your main window has to contain some output (a table usually) and it's contents are the same on every page (only it's height can change).  So, you can't have a blank main window on page 1 and a main window with data on pages 2 and 3.
    Remove the main window from page 1, set page2 as the next page for page 1.
    As for how to trigger page 3 you'll need to provide more detail on what the condition is.  Do you want multiple copies of page 2 to hold all of the main window data, or just one?  Do you want one copy of page 2 then the rest of the data on multiple copies of page 3.  Be specific.
    Regards,
    Nick

  • How to Hide the column in the model layer

    Hi,
    My Jdeveloper version is 11.1.1.3.0.
    We can make an attribute visible / invisble by setting Display Hints value in the Control hints tab.
    I want to display the column conditionally.
    Is it possible to do it dynamically in Model Level itself by Display Hints Property?
    Reg,
    Vini

    Fedor,
    Now also i am getting the same output.
    My requirement is i have to create the viewobject as it is in BaseVO and to hide some of the columns dynamically.
    In Appmod level iam doing this:
    String baseVo = (new StringBuilder("sample.model.")).append(baseVoName).toString();
    ViewDefImpl newView = new ViewDefImpl(ViewDefImpl.DEF_SCOPE_SESSION, "DynamicVO", baseVo );
    newView.resolveDefObject();
    newView.registerDefObject();
    ViewObject internalDynamicVO = findViewObject("DynamicVO");
    if (internalDynamicVO != null)
    internalDynamicVO.remove();
    getTransaction().rollback();
    createViewObjectForDef("DynamicVO", newView);
    ViewObject VO = findViewObject("DynamicVO");
    AttributeDefImpl de = ((AttributeDefImpl) VO.findAttributeDef("FirstName"));
    de.setProperty(AttributeHints.ATTRIBUTE_DISPLAY_HINT, AttributeHintsImpl.ATTRIBUTE_DISPLAY_HINT_HIDE);
    //de.setProperty(de.getUIHelper().ATTRIBUTE_DISPLAY_HINT, de.getUIHelper().ATTRIBUTE_DISPLAY_HINT_HIDE);
    return "DynamicVO";
    and in JSPX:
    <af:table rows="#{bindings.DynamicVO.rangeSize}"
    fetchSize="#{bindings.DynamicVO.rangeSize}"
    emptyText="#{bindings.DynamicVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row" rowBandingInterval="0"
    value="#{bindings.DynamicVO.collectionModel}"
    selectedRowKeys="#{bindings.DynamicVO.collectionModel.selectedRow}"
    selectionListener="#{bindings.DynamicVO.collectionModel.makeCurrent}"
    rowSelection="single" id="t1">
    <af:forEach items="#{bindings.DynamicVOIterator.attributeDefs}" var="def">
    <af:column headerText="#{def.name}" sortable="true"
    rendered="#{bindings[def.name].hints[def.name].displayHint!='Hide'}"
    sortProperty="#{def.name}" id="c1">
    <af:outputText value="#{row[def.name]}" id="ot1"/>
    </af:column>
    </af:forEach>
    </af:table>
    and in Pagedef:
    <executables>
    <variableIterator id="variables"/>
    <iterator Binds="DynamicVO" DataControl="AppModuleDataControl"
    id="DynamicVOIterator"/>
    </executables>
    <bindings>
    <tree IterBinding="DynamicVOIterator" id="DynamicVO">
    <nodeDefinition Name="Dummy"></nodeDefinition>
    </tree>
    </bindings>
    but iam not getting the entire columns to be hidden.
    EmpoyeeID FirstName Lastname
    100 King
    101 Kochhar
    i firstname column to be hidden.
    Reg
    vini

Maybe you are looking for

  • 24" iMac - Mid 2007 - Windows 7 crashing!

    So, I own the 24" iMac from mid 2007, it's running Windows 7 Home Premium with SP1 and 32-bit OS. Everything is up to date and I'm using the latest version of Boot Camp. But here' the issue, every so often maybe once every half hour on a bad day, my

  • Linking in a PDF Via coordinance or hover over

    I have been looking for a way/tool/script/etc to create links to other PDF, or HTML, ETC from within a PDF. For example if you are viewing a PDF in a browser, the PDF has a picture of an orange and an apple, if you click on the orange it takes you to

  • Table grows to 6 GB with 6k records only after Delete ORA-01653:

    Hello, I have a Table that i delete data from using DELETE FROM DJ_20255_OUTPUT a where trunc(a.LOADED_DATE) <trunc(sysdate -7); COMMIT; the issue i have is when i want to repopulate the table i get the Error ORA-01653: unable to extend table. The ta

  • How to resolve ora-28500 & ora-02063?

    HI guys, recently, I have to read the data in MS SQL2008 into the oracle11gr2. At the first glance, I thought about the GateWay. there are two servers in my team(run on vmware), which are: server A:  192.168.184.130, winserver2003, 64 edition, MS ser

  • Track mix-ups

    When Thanks I import aiff files, some work and others remain silent when in theArrange Window, while the same files will play in the sample editor. Also, some aiff files seem to play another track instead of the track that is recorded on it. I'm espe