New topic: 

Listbox advice

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        pbart          Post subject: Listbox advicePosted: Wed Jun 16, 
2010 7:11 am                                 
Joined: Sat Oct 10, 2009 6:40 am
Posts: 124                Hi

I have an app that displays information in a listbox. The way I have been doing 
it is to have an array which gets filled, then populate the listbox with the 
array data (each listbox row becomes an array element with a separator for 
columns). This works well for me as when i need to refresh the list box I just 
call the method that populates the listbox. Also the array can be written out 
to a text file to save the data.

Now i need another listbox in the app, but this one has editable fields. I 
still want to be able to do things the same way as I the first listbox, except 
that now some of the data will be coming from the listbox. 

An example of what I want to do:
1. Fill array with saved data
2. Populate listbox from array
3. edit listbox fields
4. update array after editing fields


There are 3 editable fields per row in the listbox, and 1 check box. Can anyone 
advise me the best time to update the array.

i.e. if I do it on celltextchange or cellaction will that cause performance 
issues.

I am not looking for code just general advice.

Any help would be appreciated      
_________________
Regards
Paul
Windows 7 32bit
RB 2010.2  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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