Tree control bug for vertical scrollbar

Dear all:
I meet a problem with  tree control  vertical scrollbar.Pls check the picture
If set the rows of the properties of the Tree control is a number, also set the vertical scroll bar is visible.
Then if i set the height  of Tree is unchangeable, then set the Tree childs rows are  much more than the height, The problem is that  the vertical scroll bar doesn't work. The height is increase than what i have set ,Maybe it is a bug? or not.
Anybody find this?
Attachments:
Image000011.jpg ‏66 KB

Hello,
I works fine with me.
But I added my test as attachment, so you can see if you maybe doing something else.
Kind regards,
André
Regards,
André
Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)
Attachments:
Tree control bug question.vi ‏20 KB

Similar Messages

  • Long pull down menu with no vertical scrollbar

    Folks,
    it's been already 3.5 years ago when we had to learn that there is no way to have a long pull down menu control without a vertical scrollbar. See
    http://forums.ni.com/ni/board/message?board.id=170&message.id=217428&query.id=395029#M217428
    Now, after we got LabVIEW 8.6.1 there is still no opportunity to suppress the vertical scrollbar though there is a property node "Vertical Scrollbar Visible" for combo boxes. As Smercurio already observed in 2006 with the LV 8.2 combo box, this property node does not have any effect, probably due to a bug. This behaviour is still the same with LV 8.6.1.
    Just a few days ago a user of our software complained that items in the menu would be missing. In fact they weren't but rather he oversaw the scrollbar and did not scroll down the column -- that's why he didn't find the menu items. In general it's quite inconvenient if one has to scroll down first before one can select a particular item. In most cases the scrollbar is simply useless since the panel is tall enough to show all menu items at the same time.
    How are you designing a long pull down menu on your user interface? Any ideas how to circumvent the nasty scrollbar?
    Sorry for the rather lengthy post. I am afraid you had to use the vertical scrollbar while reading through my text...
    Thanks for any contribution,
    Peter
    Solved!
    Go to Solution.

    stoeckel wrote:
    Any ideas how to circumvent the nasty scrollbar?
    I think this does what you are asking.  It works for any named numeric control, and I think a little modification will make it work for a combo box too.
    Jim
    Attachments:
    drop-down menu (no scrollbar).zip ‏73 KB

  • TRIAL BALANCE WITH  ALV TREE CONTROL

    Hi Friends,
    My manager wants to see trial balance with cost centers like ALV tree control display.
    Does SAP have any Std trial balance report which can show cost centers also for accounts and activities within those cost centers.
    Please help.
    Thanks

    Nelow message will appear and not possible technically
    Output option ALV Tree Control: Parameter Scaling set to 0/0
    Message no. FR098
    Diagnosis
    You selected output option ALV Tree Control. For technical reasons, only  the value 0/0 is possible for the parameter Scaling.
    System Response
    Parameter Scaling set to the value 0/0.
    Procedure
    If you want to compare the program output for output options ALV Tree Control and Classical list, you have to also set the parameter Scaling  to '0/0' when running the program with output option Classical list.

  • Scaling in F.01 with ALV Tree Control

    Hi Experts,
    Is there any possibility of generating the financial statements in F.01 in ALV tree control with amount scaled to 3 or 5 zero's. When i try to use ALV with scaling, the scaling is reset to 0
    Thanks in Advance

    Nelow message will appear and not possible technically
    Output option ALV Tree Control: Parameter Scaling set to 0/0
    Message no. FR098
    Diagnosis
    You selected output option ALV Tree Control. For technical reasons, only  the value 0/0 is possible for the parameter Scaling.
    System Response
    Parameter Scaling set to the value 0/0.
    Procedure
    If you want to compare the program output for output options ALV Tree Control and Classical list, you have to also set the parameter Scaling  to '0/0' when running the program with output option Classical list.

  • Exending SAME ALV tree control to different screens

    Hi Experts,
    I have to extend same  ALV tree control to other different screens:
    For exmaple:
    I have screen 100 in that I have splitter control on Left ( say TREE_LEFT)  which has ALV tree (ref to CL_GUI_ALV_TREE).
    The same Tree I want to show it in Screen 200 with the same reference(TREE_LEFT)  ..I do not want to create another rererence to for the same tree control, as I have to show the same tree display in screen 200 also.
    Please suggest.
    Regards,
    Sathishkumar.V

    Hi Sathish,
    You are passing the Data to the Screen 100,200,..... by using ALV_GRID OO concept.so the screen is not a constant one.
    It is possible to pass the Data (Based on the ALV_TREE user selection) and Modify the Screen dynamically by designing the Fieldcat.
    So use only one screen may it 100 or 200 and then Pass data based on the user selection from the Tree control.
    For Example Go to TCODE WE02 Execute it will appear one ALV Tree, Based on the Idocs in the Left side tree then screen will display the dynamic Data.
    Thanks,
    Kanagaraja .L

  • Label display issue in Tree component when it is having vertical scrollbar

    I am using tree component as dropdown factory for combo box. When i open dropdown, it doesn't have vertical scrollbar and all the root nodes are getting displayed correctly(in closed mode). Now if i try to open any node, i am getting vertical scrollbar as the child nodes are more. Now the problem is if scroll down, some of the nodes(labels) are not getting displayed but i am able to see the icon. If i keep on scrolling bottom to top and top to bottom, some of the nodes are showing labels and some are not(It is inconsistant).
    I have not used any custom item renderer for tree control. I used my custom dataDescriptor which i have implemented from ITreeDataDescriptor. Also I tried extending DefalutDataDescriptor, but no luck.

    Does it work if the tree is not in a combobox?

  • Scrollbar in Tree Control = wonky

    The TREE control scrollbar seems to have some ill-thought-out behavior.
    1... Run the example TREE ENHANCEMENTS (Examples - Building UIs - Displaying Data - General )
    2... Choose a folder on your machine with a few (3-5) folders in it but lots of files and folders contained within those folders.
    3... Select the PATTERN as appropriate.
    4... Run the VI.  Your files should show up in the list, then the list collapses.
    5... Expand the folders, so that there are more items in the list than it can display at one time.
    6... The scrollbar appears (that's sensible).
    7... Scroll down so that items disappear off the top.
    8... Right click and choose CLOSE ALL ITEMS
    --- I would expect the control to automatically move back up to the top, so you could see something, but it doesn't.
    9... Play with the scrollbar thumb.  Not exactly sensible.
    Here is a JING to watch, showing this behavior.
    The code that populates this tree is copied from the example (and modified to remove file extensions).
    Once the tree is populated, the code is doing nothing (except waiting for a QUIT button).
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    Just run the example I mentioned.  It's not code that does it - it's the behavior of the tree control itself.
    But you need to structure the folders so that you have a few (< # lines in tree) root-level folders, and many (> #lines in tree) sub-folders/files, whatever.
    When you collapse the tree, I would expect the scrollbar to adapt to the new situation, and possibly disappear.  Instead, it's working on old information, I suppose.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Need help for tree control

    Hi everybody,
    I am getting a display problem with tree control. The tree
    control has a fixed height and width, and has quite a few nodes
    with different level of branches. When i have the tree fully
    expanded, then I am getting both horizontal and vertical scrolls.
    If I scroll down using vertical scrollbar and scroll right using
    horizontal scrollbar, I am able to see the tree node labels
    properly. But after that if I scroll up then the nodes that had got
    hidden due to the previous down scroll appear cut off.. the label
    is half way erased.

    Hi everybody,
    I am getting a display problem with tree control. The tree
    control has a fixed height and width, and has quite a few nodes
    with different level of branches. When i have the tree fully
    expanded, then I am getting both horizontal and vertical scrolls.
    If I scroll down using vertical scrollbar and scroll right using
    horizontal scrollbar, I am able to see the tree node labels
    properly. But after that if I scroll up then the nodes that had got
    hidden due to the previous down scroll appear cut off.. the label
    is half way erased.

  • How to add vertical scrollbar to a tree region

    Hi,
    I have a page containing two regions. The first is a tree region displayed on the left hand side of the page. The second is form region displayed to the right of the tree, showing details relating to the selected node from the tree.
    How can I add a vertical scrollbar to the tree, so that I can I browse all nodes in the tree without affecting the position of the form? Currently, if my tree extends beyond the height of the page I have to use the page vertical scrollbar to view the bottom of the tree. This obviously means that the form is no longer in view.
    Thanks
    Andrew.

    Hi Andrew,
    You can't add a scrollbar directly to the region's contents, but you can wrap the contents within a DIV tag.
    In the Region Header add in:
    &lt;DIV style="height:500px; overflow:auto"&gt;
    In the Region Footer add in:
    &lt;/DIV&gt;
    Obviously, change the height value to suit your needs.
    Regards
    Andy

  • Tree-control for data input?

    Hi,
    I need to program an input screen for values that have hierarchical dependencies (e.g. sums). I feel, the most adequate user-interface would be a tree control, because of the data dependencies and also because the users asked for a possibility to collapse/expand parts of the data during input.
    I had a look at CL_GUI_COLUMN_TREE, but I'm not sure, if it can be used for data input. Has anyone done something like this before or can anybody direct me to some additional sample coding? (the sample coding in the reuse library didn't do it...)
    Thanks for your help, greetings, Kathrin!

    Hello Kathrin,
    Since you say that the user's input is hierarchical in nature, it is nice to have a tree-control for input. But, the choice of using a custom-control-version of the tree is a cause for some concern. I cannot recollect any of the SAP screens where the input can be given through such a tree framework (please do let me know if you have come across one). The problem with such a tree would be in the areas of even-handling. Filling the tree with appropriate data at the right times would be another challenge.
    However, there's one alternative that I would like to direct your attention to. You must have observed another kind of tree, when you select an application component from the APPLICATION HIERARCHY, which is just like a list. Also, the <i>Transport Organizer (SE09)</i>, <i>Menu Painter (SE41)</i> etc., have this kind of a tree. You can use this if you (or rather your users) are very particular on having a tree display. For more information, you can see the Function Group <b>SEUT</b>, which has the required function modules to accomplish the same. The Function Group is well documented, and you might have to work a little on the function modules themselves.
    Please do let me know if this is a suitable option to meet your requirement. All the best,
    Regards,
    Anand Mandalika.

  • [Bug: JClient tree binding] Workaround for 'random' collapsing of branches

    Hi all.. For those of you who have been bothered by a bug in the JClient tree binding model regarding (seemingly) random collapsing of branches, I have a small workaround which may brighten your day. I know it brightened mine. :)
    Anyways, here's my situation:
    - A JTree with a master VO ("MasterView", for the top) and a detail VO ("DetailView", for the 'body'), recursively bound.
    - A JComboBox bound to a VO ("TopsView" or whatever), which is used to 'select a tree'
    - When a the currency of TopsView is changed, the selected row's ID is used to build a new tree. I use my own simple synchronizing mechanism, so I can do some additional checks. I suppose you could make MasterView a detail of TopsView, but that's not really important.
    masterView.setWhereClause("ID = " + selID);
    masterView.executeQuery();At this point, the tree will automatically be rebuilt.
    However, based on my experiences, I figure that this is not really the way the JDev guys pictured how I'd work because there's a pretty huge bug which at some point pretty much makes the tree useless (or 'act weird' to say the least).
    Here's a description of how to reproduce the bug and some of my observations. I will refer to the collection of currently displayed nodes/records as 'tree'.
    1. When you first expand certain branches in the current tree, all goes well. No problems.
    2. Next, you use the JComboBox to select another tree. (The new tree will appear totally collapsed.)
    3. At this point, you will also be expanding branches 'in that tree', 'for the first time'.
    4. After that, you switch back to the first tree.
    5. Now it becomes interesting: when you expand ANY branch that you previously expanded in this tree, the bug will surface (details will follow). When you expand branches that you DID NOT expand during your last visit to this tree, all goes well -- no problems.
    Note that re-expanding a branch after manually collapsing it, does not cause the bug. The key is that you expand a branch for the first time during a 'visit' to this tree (ie, so that it has to gather it's child nodes).
    Details about the bug:
    - The problem surfaces when expanding certain branches. (See above.)
    - Effects will vary from collapsing different branches under the same parent node to collapsing the entire tree.
    - The selection in the JTree component (or its selection model, if you will) will also be canceled.
    Observations:
    - It seems that JClient was not designed to handle multiple trees (as described above). It appears that, before the newly selected tree is built, the old tree has not been properly cleaned up. By this I mean the collection of JUTreeNodeBinding objects, which continue to refer to DefaultMutableTreeNodeBinding objects of the destroyed tree. In effect, these orphaned objects continue to work their magic in the background and will influence the JTree and its associated objects in a way so that this problem (and possibly others) surfaces.
    The workaround I will present below is designed to suppress this problem. It does not deal with orphaned objects in a proper way, it will merely partially suppress their functionality.
    How to suppress the bug:
    - In case you haven't done so already, you have to copy the source file of oracle.jbo.uicli.jui.JUTreeNodeBinding into your project directory and then make small modification to it.
    - On line 482 (if I'm not mistaken), you will see //if (al.size() > 0) Change it to if (!(mTreeNode.getParent() == null && getParent() != null)) Now the enclosed code will only be executed when the tree is fully synchronized (as in: the 'tree' of JUTreeNodeBinding objects has the same structure as the 'current tree' of DefaultMutableTreeNodeBinding objects).
    In a nutshell, it checks whether the parents of this JUTreeNodeBinding object and the associated DefaultMutableTreeNode object are not null. Because in case it concerns an 'orphaned' JUTreeNodeBinding object, the parent of its associated DefaultMutableTreeNode object will be null. However, in case it concerns the tree's root node, both parents will be null, in which case this condition will have to evaluate to true as well.
    I hope that this information will be of use to others :) and that possibly someone of the JDev team could comment on this matter. Thanks.

    One question though. What exactly do you mean by 'copy
    the source file of
    oracle.jbo.uicli.jui.JUTreeNodeBinding into your
    project directory'.. would I need to change the package
    name of this binding, and modify the client code
    somewhere to have it use my modified version? Or will
    it use this local copy instead of the original one?The simplest way to go is to create a new (empty) class in your project, which is to be located in the package "oracle.jbo.uicli.jui", and name it "JUTreeNodeBinding". Next, open the source of the original JUTreeNodeBinding class and copy-paste it into your newly created class in JDeveloper.
    Now, when you run your application, it will use your 'custom' version of JUTreeNodeBinding, while it will function exactly the same. You can make any modifications, like the one I suggested in my original post, in this class.
    Good luck.

  • A possible bug for Grid control?

    Hi, Dear all,
    We installed Grid control 10.2.0.1 on Redhat Linux R3 with existing database(10.2.0.4).
    During the installation, we succeeded for repository creating but failed at OMS Configuration.
    When I start oms in cmd line, I got the following error: the repository database can not be connected.
    The description for the environment:
    1. OMS server and repository database are installed on the same server, on which HA is used.
    2. There are two floating IP on this machine,
    IP | server name | used for |
    xx.xx.xx.124 | cnsz030318 | oms server |
    xx.xx.xx.80 | oem.db.paci.com.cn | repository database |
    3.When we installed the oms with OUI, the repository server we input is oem.db.paci.com.cn
    The problem we found:
    During the installation, the repository was created successfully. But it failed at OMS configuration.
    The error we got: the repository database can not be connected.
    there are two lines in emoms.properities which seems strange:
    oracle.sysman.eml.mntr.emdRepServer=oem.db.paic.com.cn
    oracle.sysman.eml.mntr.emdRepConnectDescriptor=(DESCRIPTION\=(ADDRESS_LIST\=(ADDRESS\=(PROTOCOL\=TCP)(HOST\=cnsz030318.db.paic.com.cn)(PORT\=1535)))(CONNECT_DATA\=(SID\=oem10g)))
    The emdRepServer is what we have input on OUI:oem.db.paic.com.cn. But for the connectDescriptor, it is changed to "cnsz030318.db.paic.com.cn", which does not exist at all!.
    Now, we have worked around this problem by adding "cnsz030318.db.paic.com.cn" in the /etc/hosts.
    But my question is, why the connectDescriptor set the HOST\ as cnsz030318.db.paic.com.cn? Why does it not use the name we input in OUI (oem.db.paic.com.cn)?
    Maybe it is a bug for Grid control?

    Did you install with "Use existing database" or "Use new database"?
    I recommend that you use fully qualified domain names only!
    Best regards,
    Martin Decker
    www.ora-solutions.net
    Edited by: mdecker on Jan 7, 2009 2:24 PM

  • Vertical Scrollbar for a slide

    I'm new to captivate. Can anybody help me to get a vertical
    scrollbar for the slides?

    Hi TrioRocks,
    Thanks for your reply. It worked fine. i imported the flash
    .swf file in my application but the only problem is that i cannot
    edit the content of the slide after importing the flash file.

  • How to create vertical Scrollbar in table control?

    Dear All,
    How to create vertical scrollbar in table controll.?
    regards,
    Dharmesh

    Hi
    It should be created automatically, if you can't see it, try to set the field lines of table control
    PROCESS PBO
    MODULE SET_ATTR_TC.
    LOOP AT ITAB WITH .....
    ENDLOOP.
    MODULE SET_ATTR_TC.
    DESCRIBE TABLE ITAB LINES SY-TABIX.
    <TABLE CONTROL>-LINES = SY-TABIX.
    ENDMODULE.
    Max

  • Tree control tip strip for each item

    In tree control is possible set a Tip strip for each item (node) of tree?
    In tree control  tipStrip property seems relative to all tree.
    Thanks all.

    The only thing I can think of is to use an event structure
    use a mouse move event
    Get Cords
    Calculate what item the mouse is over
    Use a Tips property node to write the correct string.
    The hard part will be calculating what item the mouse is over, The Displayed Items property node should help.
    I am actively working on a program that is centered around a tree control and might like to do the same.
    If you need further help reply back 
    Omar

Maybe you are looking for

  • QM_Control on Required start date in quality notifications

    Dear QM experts, Requirement is, For Q2 notification type the entries in required start date filed (QMEL-STRMN) to be restricted in such a way so that user can not do entry for last month. Foe example, 1.     Today is June 12, 2009. If a user is crea

  • How to use reserved word in MAX() function?

    Hello, I migrated from SQL Server 7 to Oracle 8.1.7 and have to keep the same tables, columns etc names as it used to be in sql server. One of my tables have colunm called 'Row' and as far as I understand it's reserved word in Oracle I need to bypass

  • Configuring SLD in PI7.0 (ERROR)

    Hi Experts, 1) I have installed the pi7.0 component on ecc6.0 i did postinstallation steps of pi7.0 but when i give the tcode SLDCHECK it goes to webbrowser and works sld fine i can be able to do sld activities but it is showing in system : function

  • Agent Installation issue - SSH

    I've tried to do the push method, and get SSH equivalence issues, even though our 2 node RAC has SSH equivalence set, I still can't get the push to work. The 2 node rac has user equivalence with a password. However, when I enter the following command

  • Can I do this with InDesign tags (or XML)

    We are embarking on a new project which will require the use of either InDesign or its major competitor, I have been tasked with determining which to use. Our needs are few but specific. We will be publishing a catalog, the source text of which will