I am loading information from a sqlite3 database file using a query. The results have two fields, Filename and Filepath.
The Filename information is to be loaded into a list box where sorted=true. Clicking on an item in the filename list will show the Filepath string. At the moment I am loading the filenames into one list and the filepaths into another list, but of course the filename list is sorted, so the connection to the associated filepath in the other list is broken. Is there a way to keep the lists synchronized when one list is sorted or is there an easier way to do this, remembering that the filename list is to be visible at all times, and that there may be duplicate filenames, although the related filepaths will of course be different? Thanks Max -- View this message in context: http://www.nabble.com/Synchronized-Listboxes-or-a-better-way-tp19596329p19596329.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user