Print Page | Close Window

REQUEST: TreeViewNode.Expanded behaviour

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13477
Printed Date: 22 November 2024 at 2:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: REQUEST: TreeViewNode.Expanded behaviour
Posted By: ddragut
Subject: REQUEST: TreeViewNode.Expanded behaviour
Date Posted: 23 February 2009 at 12:33pm
Hi,

I'd like to ask for an enhancement request for TreeViewNode.Expanded property, to match the behaviour from Microsoft TreeView control.

Where with MS Treeview one could set the TreeViewNode.Expanded = yes early on, well before any children are added, and then when adding children later on the node it is displayed as expanded.

Currently with CodeJock TreeView control, setting the node Expanded property to yes and adding the children after that the node stays collapsed, although the value was set to expand - the solution is to set the Expanded property after the children are added.

Sometimes the parent is known beforehand that it is wanted as expanded, and setting that earlier on allows for less scattered code, where you group up the code statements before the lines that add the children code. In fact you could allow for both, for compatibility, early as well as later setting of the property.

Thanks,
Dan

-------------
Product: Codejock Xtreme SuitePro (ActiveX) version 12.1.1
OS: Windows XP Pro (32 bit) SP3
Language: PROGRESS 4GL - OpenEdge 10.1C



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net