Print Page | Close Window

TreeView Node 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=11817
Printed Date: 24 September 2024 at 3:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TreeView Node Expanded behaviour
Posted By: ddragut
Subject: TreeView Node Expanded behaviour
Date Posted: 13 August 2008 at 11:25am
Hi,
 
We're migrating our application from Microsoft Common Controls to CodeJock controls and I've noticed a few differences, one being with the Expanded property of TreeView Nodes.
 
Where with Microsoft TreeView you could've set Expanded property before any children were added and it was remembering the setting and it displaying the parent expanded, with CodeJock TreeView you have to set the Expanded property after the first or all children are added.
 
Is there any chance you might be able to change to change to Microsoft's behaviour? It makes the code a bit cleaner as in keeping the Expandend property close to the parent creating statement rather than after the code block where all the children have been added.
 
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