Joaquin del Rio Posted December 25, 2008 Report Share Posted December 25, 2008 Hi I'm trying to control the vertical scrollbar position of a TreeControl in LabVIEW 8.5.1 String controls have Text.ScrollPos property, to control it, but in a TreeControl I don't find a property to do the same. The reason because I need to control this property is due to I'm writing data quikly to a TreeControl. If I write data cell by cell is very slow. Then, I'm writing the full content each time. I delete it all, and I rewrite all the new data in the tree control. Then, I have to store the VerticalScrollPosition, and after write data, I have to put it in the same position. I'm doing the same with visible properties (expandable) of each cell and it works... but I'm no able to find the way to control the scroll bar. Any idea? ThankS! Quote Link to comment
Antoine Chalons Posted December 25, 2008 Report Share Posted December 25, 2008 QUOTE (Joaquin del Rio @ Dec 24 2008, 11:30 AM) HiI'm trying to control the vertical scrollbar position of a TreeControl in LabVIEW 8.5.1 String controls have Text.ScrollPos property, to control it, but in a TreeControl I don't find a property to do the same. The reason because I need to control this property is due to I'm writing data quikly to a TreeControl. If I write data cell by cell is very slow. Then, I'm writing the full content each time. I delete it all, and I rewrite all the new data in the tree control. Then, I have to store the VerticalScrollPosition, and after write data, I have to put it in the same position. I'm doing the same with visible properties (expandable) of each cell and it works... but I'm no able to find the way to control the scroll bar. Any idea? ThankS! I do have an idea, but first http://letmegooglethatforyou.com/?q=labview%20tree%20control%20scroll' rel='nofollow' target="_blank">LMGTFY . Quote Link to comment
crelf Posted December 25, 2008 Report Share Posted December 25, 2008 QUOTE (Antoine Châlons @ Dec 24 2008, 06:23 AM) I do have an idea, but first http://letmegooglethatforyou.com/?q=labview%20tree%20control%20scroll' rel='nofollow' target="_blank">LMGTFY . I'm not sure that LMGTFY is a good idea - the first two search results point directly back to this thread Quote Link to comment
Antoine Chalons Posted December 25, 2008 Report Share Posted December 25, 2008 QUOTE (crelf @ Dec 24 2008, 03:21 PM) I'm not sure that LMGTFY is a good idea - the first two search results point directly back to this thread Yes... now... but this thread might not have been in the search results if the search was done before, that's the whole point :laugh: When I use LMGTFY, I always check that the results are interesting enough. That said, it's true it would have taken me less time to point Joaquin to the thread called "http://forums.lavag.org/Scrolling-a-tree-control-t12725.html' target="_blank">Scrolling a tree control" I just wanted to show how to look for it. Quote Link to comment
Joaquin del Rio Posted December 25, 2008 Author Report Share Posted December 25, 2008 Ups, you're right... thanks... I had looking for an answer but it seems I didn't use the corrects search parameters... Thanks again! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.