Print Page | Close Window

TreeView-Control crashes Application

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9159
Printed Date: 16 November 2024 at 5:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TreeView-Control crashes Application
Posted By: Baldur
Subject: TreeView-Control crashes Application
Date Posted: 20 December 2007 at 3:19pm

I use TreeView-Control Version 11.2.0 (it's from 11.2.1).

If i call TreeView.Nodes.Clear-Method, the TreeView-Object is destroyed from Client (Object is deleted).

The Application crashes after this.



Replies:
Posted By: Oleg
Date Posted: 21 December 2007 at 1:08am
Hi,
Traditional question - can you reproduce it with our sample ? or submit demo that shows it. I can't reproduce it :-(


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jimbox
Date Posted: 23 December 2007 at 2:03pm
Yes - we get this one too.
 
Treewiew.Nodes.Clear - after it's initially been populated.
 
Bang!
 
The only way round it is to -
 
Dim LPtr as Long
 
For Lptr = TreeView.Nodes.Count To 1 Step -1
    Treeview.Nodes(LPtr).Remove
Next
 
(or something like that)
 
 


Posted By: mremkes
Date Posted: 23 December 2007 at 11:55pm
Oleg,
 
See attaced picture...
 
Could you also check performance. Its definitely slower than the MS one (Try to add 1000+ nodes)
 
Regards,
 
Marcel
 


Posted By: od@eureka
Date Posted: 16 December 2009 at 10:17am
I have the same problem !
(I'm working with the 11.2.2 version).
 
Does this bug has been patched since ?


-------------
Regards

Didier



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