New topic: 

Help needed with Hierarchical Listboxes

<http://forums.realsoftware.com/viewtopic.php?t=45954>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        BuGs          Post subject: Help needed with Hierarchical 
ListboxesPosted: Fri Nov 16, 2012 6:02 pm                         
Joined: Sat Mar 12, 2011 9:18 am
Posts: 68                Hi guys,

For the past few hours I've been struggling to create a hierarchical listbox 
that pulls data from 2 dictionaries. In one dictionary I'm keeping the root 
levels (listbox.addfolder) and in the other I was thinking to keep the 
sublevels (listbox.addrow) for each root level from dict 1.

Here's a visual explanation:



Can anyone help me out here ?   
                             Top                timhare          Post subject: 
Re: Help needed with Hierarchical ListboxesPosted: Fri Nov 16, 2012 6:16 pm     
                    
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 11814
Location: Portland, OR  USA                Use a separate dictionary for each 
sub-level.  Or an array.   
                             Top                BuGs          Post subject: Re: 
Help needed with Hierarchical ListboxesPosted: Fri Nov 16, 2012 7:52 pm         
                
Joined: Sat Mar 12, 2011 9:18 am
Posts: 68                Thank you. I was overthinking the problem and it never 
came to my mind this simple solution to use a separate dictionary )   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to