Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TreeCtrl » Anomaly in tree control
Anomaly in tree control [message #29781] Tue, 16 November 2010 11:38 Go to previous message
gprentice is currently offline  gprentice
Messages: 260
Registered: November 2005
Location: New Zealand
Experienced Member
I just noticed what seems to be a problem in the tree control. I was trying the tree control reference example and with the tree showing a directory I was testing to see whether the tree remembered the collapsed/ uncollapsed state of lower level nodes when the top level node was uncollapsed -> collapsed -> uncollapsed. I found the lower level plus/minus icon then showed as uncollapsed (minus) but the node wasn't actually expanded.
i.e.
start with tree all collapsed
use right arrow key to expand first level
use down arrow key to go to first child
use right arrow key to expand first child
use up arrow key to go back to root node
use left arrow key to collapse root node
use right arrow key to expand root node

now you should see the problem where the first child node has a minus icon but is uncollapsed. Sometimes the problem doesn't appear the first time.

Graeme
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Basic query: id, key and value in a TreeCtrl.
Next Topic: Changing tree control style
Goto Forum:
  


Current Time: Sun Apr 28 00:37:24 CEST 2024

Total time taken to generate the page: 0.05176 seconds