473,386 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Look at this debugging output about TreeViews

I normally don't ask for help debugging but I've been looking at this for 4
days and am beginning to believe it may be caused by something I just don't
know about.

Below is a printout from a treeview debugging session.
I caused the same routine to be called twice
The routine, given a string like
"C:\Documents and Settings\Hal\My Documents
expands a TreeView to show that path.
Works great the first time
but as you can see below, the second time all the BeforeExpand event calls
are delayed and then run in the reverse order. Like they were placed on a
stack.
Anyone have any suggestions?
Search Topmost Collection 'FOUND C
Entered BeforeExpand C: 'EXPAND C
1SEARCH IN C: 'FOUND DOCUMENT AND SETTINGS
Entered BeforeExpand C:\Documents and Settings 'EXPAND IT
2SEARCH IN C:\Documents and Settings 'FOUND HAL
Entered BeforeExpand C:\Documents and Settings\Hal '...MORE OF THE SAME
3SEARCH IN C:\Documents and Settings\Hal
Entered BeforeExpand C:\Documents and Settings\Hal\My Documents
4DONE C:\Documents and Settings\Hal\My Documents 'STOP SEARING
4SEARCH EXITED 'EXIT RESURSIVE ROUTINES
3SEARCH EXITED
2SEARCH EXITED
1SEARCH EXITED
Search Topmost Collection 'DO IT A SECOND TIME
5SEARCH IN C: 'NOTE IT FINDS THEM THE SAME WAY
6SEARCH IN C:\Documents and Settings 'BUT THE EXPAND EVENTS ARE DELAYED
7SEARCH IN C:\Documents and Settings\Hal 'AND THE ORDER IS REVERSED
8DONE C:\Documents and Settings\Hal\My Documents
8SEARCH EXITED
7SEARCH EXITED
6SEARCH EXITED
5SEARCH EXITED
Entered BeforeExpand C:\Documents and Settings\Hal\My Documents
Entered BeforeExpand C:\Documents and Settings\Hal
Entered BeforeExpand C:\Documents and Settings
Entered BeforeExpand C:
Dec 7 '06 #1
3 937
It seems to me, that you should post some code, otherwise we have no idea
whats going on here.
Dec 7 '06 #2
It would be too much to expect someone to wade through.

I'm hoping that someone who has any idea at all of why the BeforeExpand
events would be delayed.

The important things are a routine searches and fines the next node and then
expands it, then searches...
Thanks for the interest
"Robinson" <ro**************@hotmail.remove.this.co.ukwrote in message
news:el*******************@news.demon.co.uk...
It seems to me, that you should post some code, otherwise we have no idea
whats going on here.

Dec 7 '06 #3
I've been looking at the code and I think I could put together a small
solution as a test case.

How could I deliver it.

Should I attach a zip file to my post to the NG or sent it e-mail to anyone
that is willing help?
Thanks
" Franky" <fr***********@a-znet.comwrote in message
news:eZ**************@TK2MSFTNGP03.phx.gbl...
It would be too much to expect someone to wade through.

I'm hoping that someone who has any idea at all of why the BeforeExpand
events would be delayed.

The important things are a routine searches and fines the next node and
then expands it, then searches...
Thanks for the interest
"Robinson" <ro**************@hotmail.remove.this.co.ukwrote in message
news:el*******************@news.demon.co.uk...
>It seems to me, that you should post some code, otherwise we have no idea
whats going on here.


Dec 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gurudev | last post by:
Is it possible to create an explorer style drag and drop for treeviews in C# i.e. the selected node text appears and moves along with the cursor while dragging thanks in advance --...
4
by: Michael C# | last post by:
I have a quick question, and was just wondering if anyone knew a good resource, article(s) or sample source code. I want to be able to connect the nodes of two treeviews graphically via lines. I...
1
by: emferrari | last post by:
Hi everybody I have two treeviews, one of them is only to receive items dragged from the treeview1. I want to know how to drag a full node information to the treeview2. I know how to do that...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
1
by: jotaefe | last post by:
Hi there, Anybody knows if it is possible to highlight nodes on a treeview (over) on a drag and drop operation from a different treeview? The two treeviews are in the same Windows form. Your...
0
by: track | last post by:
I have two treeviews say TreeviewA and TreeviewB on windows form in .Net. I want to transfer node from TreeviewA to TreeviewB based on selected node under TreeviewB. But problem is when I select...
7
by: Mike Kent | last post by:
It's often useful for debugging to print something to stderr, and to route the error output to a file using '2>filename' on the command line. However, when I try that with a python script, all...
6
by: Morgan Packard | last post by:
Hello, Wondering what everyone's experience with breakpoint debugging is here. I've been using firebug for a few years and, while I'm delighted to have _some_ debugging ability, I've found it to...
6
by: SalimZaabi | last post by:
How do I contruct a series of treeViews to display a folder with subfolders and files ?? I tried but all my tries were stuck on the second subtreeView!! how to keep the treeView going whenever...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.