The ' VISIBLE' property of hierarchical tree

Hi, all,
I'm a new user of Forms6. When I buitld my first app for Oracle, I got one problem on hierarchical tree. The nodes all 'disappeared' if I changed the property 'VISIBLE'. For example, if I change the 'VISIBLE' from TRUE to FALSE and TRUE again, nothing there but a blank tree. Does any one can help me? Or is there any Build-in program unit like "Refresh"?
Thank you.
hao
null

unfortunately there is no "Refresh" built-in for Hierarchial trees
Candace Stover
Forms Product Management

Similar Messages

  • Tracking the visible property of a movie clip

    Hello,
    I am trying to track the visible property of a movie clip as
    I need to perform a function when visible = true and another when
    visible =false
    I have tried to use a listener object but I can’t get
    it to work. Can you attach a listener object to listen for the
    visible property?
    I have also tried an IF statement inside the move clip but
    this only knows the state of the ._visible when it first runs.
    I have got it to work with an onEnterFrame function on a
    movie clip inside the one I want to know the property of but I
    don’t like using the onEnterFrame as it uses a lot or
    processor speed
    Is there an easy way to track the visible property of a
    movieclip???
    Thanks
    Sam.

    > thanks for the help but the watch() method doesn't work
    for getter/setter
    > properties. is ._visible a getter/setter property?
    I was afraid of that. Yes, _visible is a getter/setter, most
    properties are. Basically watch() only works on read-only
    properties and custom variables, which is a shame.
    So I don't know of any more elegant way than constantly
    checking to see if the value changed. Centralize it and maybe
    package it in a nice class and you might feel a little better about
    it...

  • How to use the visible property

    Hi all,
    Im trying to implement the page(view)which has 3 trays.
    Once the page is loaded ,I want to make only the first tray visible and other 2 trays should be invisible.
    Based on the users input on the 1 st tray, the 2nd or 3rd tray shud get enabled and visible to the user.
    Please let me know how to make the tray visibl after the user input.
    Regards,
    Nithya K

    Hi Nithya,
    Please create the context attribute for the visibilty type.  Once context attribute created,
    Select type <...> button >> Dictonary Simple Type >> Dictonary >> Local Dictonary >> type com.sap.ide.webdynpro.uielementdefinitions >> Visibility OR directly put type     com.sap.ide.webdynpro.uielementdefinitions.Visibility
    Then try to implement you logic for showing the 2nd or 3rd tray in the if loop. like
    if (<condition true>)
       wdContext.currentContextElement().set<your Attribute name>(WDVisibility.VISIBLE);
    else
       wdContext.currentContextElement().set<your Attribute name>(WDVisibility.NONE);  
    Then bind the visible properties in the Tray.
    Hope it helps
    Regards
    Arun

  • Why error when looping a sheets collection and setting the visible property?

    I get an error on line 5 when running the following code:
    1Sub ShowSheets(vSheets() As Variant)
    2
    3 Dim i As Long
    4 For i = LBound(vSheets, 1) To UBound(vSheets, 1)
    5 ThisWorkbook.Sheets(vSheets(i, 1)).Visible = xlSheetVisible
    6 Next i
    7
    8End Sub
    The error code I get is:
    Run-time error '-2147417848 (80010108)':
    Method 'Visible' of object '_Worksheet' failed
    I only get the error when at least one of the sheets is a chart. But the error does not occur when the chart object is looping. Instead it occurs when the first worksheet object after the chart object is looping.
    What is the cause of this error?

    Hi JP3O,
    >> only get the error when at least one of the sheets is a chart. But the error does not occur when the chart object is looping<<
    I am trying to reproduce this issue however failed. From the error message, it seems that the visible couldn't set when you call the sub.
    How the code was executed? Would you mind sharing more detail about this secnario?
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Change the Visible property of Adobe Form Dynamically - URGENT

    Hi,
        I am woking on a scenario where when I click a button in Adobe Form,
    another Adobe Form should be displayed. This is using Web Dynpro Java.
    For this I have made the second form invisible and I want to make this VISIBLE when the button is Clicked. I am unable to get a method where this property of interactive form can be changed.
    Also, If there is any other way this can be done please let me know.
    I am using NWDS 7.0.09 with Adobe Live cycle designer 7.1.
    Thanks in Advance,
    Vasu

    You need to get the handler to the adobe form in your webdynpro program. If you are using webdynpro for java the following code snipped could be useful...
    IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),"YourAdobeForm");
         // Get appearance setter. 
         IWDPDFDocumentAppearance appearance =
              iFormHandler.getDocumentContext().getAppearance();
         //appearance.
         // Set page layout option
         appearance.setPageLayout(pageLayoutOption);
         // Set show option.
         appearance.setShowOption(showOption);    
         // Hide menu bar.
         appearance.hideMenuBar(true); 
         // Hide tool bars.
         appearance.hideToolBars(true);
         // Hide window controls.
         appearance.hideWindowControl(true); 
         // Show full screen.   
         appearance.showFullScreen(true);
    Reward points if the post is helpful
    Thanks!
    Surya.

  • I can't set the visible property of a CWAnnotation Object

    I'm working in a W2000 with Visual Basic 6.0.
    When I try to set this property (Visible in CWAnnotation), Visual Basic generates a run time error. Is there any kind of patch?

    This is a known issue with Measurement Studio 6.0. There is not currently a patch for this problem. The workaround is to move the annotation outside the plot area when you do not want to display it.
    David Rohacek
    National Instruments

  • Scroll down programmatically the vertical scrollbar in hierarchical trees

    I manually select nodes in the tree. When the node is expanded the leaf nodes doesn4t appear on the screen. Then
    I have to scroll down the vertical scrollbar to see it.
    Is it possible to scroll the tree so that the selected node
    appears on the screen ??
    My forms version is 6.0.8.19.2
    Best regards

    You can make use of the property "Index Vals" and write a new value to the Table as shown below
    Regards
    Guru (CLA)
    Attachments:
    1.png ‏23 KB
    1.png ‏23 KB

  • Hi how to set the visible property in oracle adf?

    Hi,
    I am new to oracle adf in my application one of the field is id and it is sequence generated value Whenever I entered remaining values and click on save then only it has to display with sequence generated value before saving it has to be in hide mode. Can any one help me how the approach is.

    As there are three ways through which you may pass a message to B2B, so there are three ways to set Action name property.
    If you are using SCA/Fabric then set below properties -
    b2b.fileName
    b2b.contentType
    If you are using JCA JMS adapter, then set below property -
    jca.jms.JMSProperty.ACTION_NAME
    If you are using JCA AQ adapter then set -
    ACTION_NAME
    Regards,
    Anuj

  • How to set the control-on hierarchical tree nodes

    Hi,
    I have created form in which at the left it has hierarchical tree structure(BOM) and towards the right it brings up the query results for selected node.
    Now, I have a button upon clicking which I navigate to the root node by issuing
    "Ftree.set_Tree_selection(htree, 1, Ftree.select_on);".
    But, it cannot automatically run the ' when-tree-node-selected' trigger '.
    any solution???
    Its really urgent.I have a customer demo on monday.
    Please help me asap.
    regards,
    Nagadeep.

    Hello Nagadeep,
    couldn't you just put the code from the trigger into a procedure
    and run that after the navigation to the item?
    Just a thought,
    Bernd
    The docs state that:
    No programmatic action will cause the When-Tree-Node-Selected trigger to fire. Only end-user action will generate an event.
    Probably due to performance reasons.
    Bernd
    Message was edited by:
    Bernd Prechtl

  • How to make a node of a Hierarchical Tree BOLD

    When we click the node of a Hierarchical Tree, we want to make the node BOLD. We tried using set item property but it's not working.

    There aren't really any built-ins that will allow you to change the Font Weight of the Tree Node Label. You might be able to accomplish this with Java, but you would have to write your own Java Bean to implement. It might be easier to simply add an Asterisk (*) to the label programatically using the Set-Tree-Node-Property() built-in, but this presents problems with removing the asterisk when you leave the selected node or select a new node. It can be resolved, but you'll have to record all the information you'll need to reset the node - namly just the Node_ID.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Feb 24, 2012 7:52 AM

  • Af:column visible property

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    I want to pragmatically control the visible property of the af:column inside the table.
    I have the following code for af:column.
    <af:column sortable="false" headerText="Impact Cat New" id="c7" visible="#{row.bindings.Selected.inputValue}">
    </af:column>
    Initially, the value of 'Selected' will be false when the table is first displayed and hence it should NOT be displayed.
    In the table selection listener,I set the property 'Selected' to true for the selected row and refresh the table[AdfFacesContext.getCurrentInstance().addPartialTarget(tblEmp)].
    But Even after refresh the table is never showing the column for which visible is set as true.
    The table is inside a panelCollection.
    Please advice.
    Regards,
    Praveen

    This won't work, as the column is the container for all rows and the row attribute is only available when the table rows arr stamped. I don't understand your use case. You want to show a column if one row gets selected? Sounds odd to me.
    If you really want to do this, you have to set an attribute outside the table and use the selection listener to switch this attrbute. Then use the new attribute in the columns visible property.
    Timo

  • It's possible to make Hierarchical Tree from multiple tables ?

    the famous example for Hierarchical Tree is about employee_id and manager_id field in employees table ............ so I was wondering it's possible to make[b] Hierarchical Tree from multiple tables ? and How ??
    if the answer associate with example that will be so kind of you :D
    and thanks in advance.

    HI
    use curose in when new form instance or procedure then u can got data more then one table like that
    DECLARE
    htree ITEM;
    top_node FTREE.NODE;
    new_node FTREE.NODE ;
    child_node ftree.node ;
    item_value VARCHAR2(30);
    cursor prime_cur is select main_desc mgr_name, main_code dept
    from pur_item_group_mst;
    cursor child_cur(v_dept number) is select sub_desc,sub_code
    from pur_item_group_dtl where main_code = v_dept ;
    BEGIN
    htree := Find_Item('tmp.tree4');
    for dummy in prime_cur loop
    new_node := Ftree.Add_Tree_Node(htree,
    ftree.root_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    dummy.mgr_name,
    'D:\ORYX_POLYBAGS\accept',
    dummy.dept);
    for child in child_cur(dummy.dept) loop
         child_node := Ftree.Add_Tree_Node(htree,
    new_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    child.sub_desc||' '||'('||child.sub_code||' '||')',
    'D:\ORYX_POLYBAGS\next',
    child.sub_code);
    end loop;
    end loop;
    END;
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • Setting the Visibility of Groups in a View.

    Hi,
    Here is a Scenario
    There Two WD Views in View 1 there are three groups,in second group i have a button Next, if i click this button it will navigate to View 2, in View two there are five groups,
    I want after clicking Next Button only first three views should be visible in View2 leaving 4 and 5th view.
    how do i can do this..
    Regards,
    RK

    Just to add to Armins answer.
    Create a data element in the context of type Visibility, which is available under
    Dictionary Simple Type
    |_ Local Dictionary
         |_ com.sap.ide.webdynpro.uielementdefinition.Visibility
    then you bind the visibility property of the group to your newly created context element, and updates the visibility of the element in the action method of your button.
    This is the prefered way, since it provides a cleaner design.
    See http://help.sap.com/saphelp_nw04/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm for more information.
    Regards
    Mattias

  • Change visible property of iView assigned to page

    Hi,
    When we add an iView to a page, we have some properties like visible, fixed,etc. mentioned along with each iView. Now, I want to change the visible property dynamically using pdk development. How can we achieve this?
    Regards,
    Khushboo

    Hello Mittal,
    As per my understanding you want a way to dynamically edit the property of the PCD objetcs using PDK. SAP provides an API for the same puspose. Please refer to this link for more details
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
    Regards,
    Raju Bonagiri

  • Visible property

    If I have 20 items in a listbox, each item corresponds to a control cluster. The cluster appears according to the item in the list that the user push while the other ones disappear. This is all in a While loop until the user hit OKAY. Is there a quicker way to set the visible property because the way that I have in mind right now is a case structure that make one visible and the other 19 invisible. This is very tedious because that means that I have to do the same for all 20 cases. Thanks.

    I suspect that vk1 & Veeru are the same person
    Have you started implementing code and need a solution for it?  If so, please post the code so that we can prepare an adequate example.
    R

Maybe you are looking for

  • Find and Replace using Wildcards

    I am following the procedure outlined in Trent's Blog: http://www.trentmueller.com/blog/search-and-replace-wildcard-characters-in-dreamweaver.htm l This is fantastic stuff and will really help me. I have a few (but only a few) times had success. It s

  • VPN tunnel between 2 RRAS servers, both performing NAT with 2 network connections

    I have a need to configure an IPSEC policy between 2 networks.  Both servers are located at separate offices, are virtual, are 2008 R2 standard,  and only perform the function of NAT between a public IP and the LAN.  They each have 1 network adapter

  • DVD RAM errors every time on U205

    I have a Satellite U205-S5002 and every time I try to burn data to a DVD it errors just as it is finishing. Any ideas on how I can fix this? thanks (in advance) Solved! Go to Solution.

  • Importing "Corrupt" Libraries/Images/xmp Files Into LR 1

    I've experienced the "corrupt library" problem experienced by so many, in which LR 1 tries to "upgrade" libraries that worked perfectly well in beta 4.1, but then apologizes because they're "corrupt"--and then exits when you hit the OK button to ackn

  • A few keys are sticky on my iBook G4, how best to clean?

    Hi, I spilled a little (less than 1 oz) soda on my G4 the other night. In a panic, I flipped my iBook over like a tent and wiped-off the drips. Then I flipped my iBook back and patiently ran the edges of a (many) "scott towel" to suck up what had fal