Treeview Expanded Problem |
Post Reply |
Author | |
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
Posted: 10 August 2011 at 6:40am |
Hi,
There is a problem in the Expanded property in CJ Treeview, where if you add a node and then set the expanded property to true, while nothing inside it, it will not be expanded once a node added inside it... But in MS Treeview, it will be expanded just after a node added to the main node.. This is very important when you create a huge tree dynamically like in our case, we make a small function to add a TreeNode, and send the (Tree, ID, Name,..., Expanded), and we use this function to build the entire tree, in this case, we want the main node for example to be expandable and some are not, so we used to send (True) only while building the main node, and it will be expanded when anything added to it... To clarify the case, you can download the sample from this link: www.hybrid-solutions.com/tvwexpand.zip This sample will fill both trees (MS and CJ) using the same function, the MS Tree will be expanded and the CJ Will not. Hope this will be fixed ASAP since we are in the BETA version now :) Regards. |
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks for description and sample. Its fixed for next update.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ahmadgames
Groupie Joined: 12 April 2011 Location: Jordan Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Great :) thanks alot for your swift response.
Regards.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit) Language: Visual Basic 6.0 -------------------------- Ahmad Majid Development Manager Hybrid Solutions |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |