Re: [Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-16 Thread John Fouhy
On 17/07/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Okay so i have a list of lists just as you describe below...I hate to make > myself look really stupid...but I don't see how this converts to a tree > structure...I was looking at this earlier and I guess what's confusing me > are th

Re: [Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-16 Thread lauren
John-- Thanks again - I so appreciate your direction! Okay so i have a list of lists just as you describe below...I hate to make myself look really stupid...but I don't see how this converts to a tree structure...I was looking at this earlier and I guess what's confusing me are the duplicates...d

Re: [Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-16 Thread John Fouhy
On 17/07/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Do you have any pointers on how to get from here > > continent = ["australia", "europe", "america", "asia"] > country = [["spain", "germany", "belgium"], ["united states", "canada"]] > state = ["california", "oregon", "arizona"] > >

Re: [Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-16 Thread lauren
Thanks also for your help! So taking into account that tree data structures can be created as a nested tuples... Do you have any pointers on how to get from here continent = ["australia", "europe", "america", "asia"] country = [["spain", "germany", "belgium"], ["united states", "canada"]] state

Re: [Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-16 Thread lauren
Hi! Thanks for much for your reply! I'm sorry my posting was so confusing...It's partially because my understanding is so hazy right now. I'm trying to piece together what I should do next... Based on your example... My understanding is that if I desire the following tree control structure in m

Re: [Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-15 Thread John Fouhy
On 16/07/2008, Michiel Overtoom <[EMAIL PROTECTED]> wrote: > Lauren wrote... > > Based on some research I've done, I think I want my data structure to > > be a series of lists within lists: > # start of example > > # this example uses a hierarchy of three levels: 1) continent, 2) > country/st

Re: [Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-15 Thread Michiel Overtoom
Lauren wrote... > Based on some research I've done, I think I want my data structure to > be a series of lists within lists: > [...] > Can someone give me some pointers on how to think about this > clearly?? I'm obviously missing some steps!! :-( I find your example a bit hard to follow. From

[Tutor] Tree Ctrl Data Structure - Help, please!

2008-07-15 Thread Lauren Snyder
Hello! ACK!!! I am attempting to "AUTO" populate a tree control Right now I am just focusing on dynamically creating the data structure (a list of lists) that will later be used to populate the tree control. This is where I am stuck! Based on some research I've done, I think I w