Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Treeview Expanded Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Treeview Expanded Problem

 Post Reply Post Reply
Author
Message
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Topic: Treeview Expanded Problem
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2011 at 8:29am
Thanks for description and sample. Its fixed for next update.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2011 at 8:35am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.