Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - TreeView-Control crashes Application
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TreeView-Control crashes Application

 Post Reply Post Reply
Author
Message
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Topic: TreeView-Control crashes Application
    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.
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: 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
Back to Top
jimbox View Drop Down
Newbie
Newbie
Avatar

Joined: 06 May 2005
Location: United Kingdom
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimbox Quote  Post ReplyReply Direct Link To This Post 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)
 
 
Back to Top
mremkes View Drop Down
Groupie
Groupie


Joined: 26 October 2007
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote mremkes Quote  Post ReplyReply Direct Link To This Post 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
 
Back to Top
od@eureka View Drop Down
Newbie
Newbie


Joined: 15 December 2009
Location: France
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote od@eureka Quote  Post ReplyReply Direct Link To This Post 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
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.203 seconds.