|
#1
|
||||
|
||||
|
EXAMPLE: Dynamically Populate ListBoxes
Hello,
This example demonstrates how to dynamically insert items into ListBox objects. In this project there are two listbox objects. The first (province) is populated based on files located inside a specific directory. When an item is selected in the province listbox, the second listbox (city) is populated based on the contents of a specific file in the same directory. Skills Used: File.Find, Read Text File To Table, ListBox Object, Dynamically add Items, Object Interaction. |
|
#2
|
|||
|
|||
|
Desmond
I am writting an application that utilises your apz for dynamically updating list boxes, I can obviously change the data pre build and it works fine, but I need to point to an external 'list' that is in constant change. A bit on the thick side, but how can I modify your script to point to an external file that may be on a usb drive? The file names will remain the same on all users but the data content will be diiffent. Best Regards Phil Merry |
|
#3
|
||||
|
||||
|
Hello,
The cities for each province are loaded from seperate text files for each province through this action: Code:
tProvinceFiles = File.Find(_SourceFolder .. "\\AutoPlay\\Docs\\Provinces", "*.txt", false, false, nil, nil); Code:
_SourceFolder .. "\\AutoPlay\\Docs\\Provinces" Code:
_SourceDrive .. "\\YourFolderHere" |
|
#4
|
|||
|
|||
|
Hi, is there any way to modify this so it looks at default folder (providence) then instead of looking at text documents it looks at folders,
once selectd folder was selected for file list it would then display another list of txt files, when one of them was elected it would appear as a link at the bottom or in a new window ? many thanks :_) |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on populate Combo Box | carlossequeira | AutoPlay Media Studio 5.0 | 0 | 07-19-2005 10:23 AM |
| Dynamically Sized Web Browser | The Phantom | AutoPlay Media Studio 5.0 | 4 | 10-23-2004 02:03 PM |
| Populate a listbox | Lub | AutoPlay Media Studio 5.0 | 1 | 02-05-2004 10:09 AM |
| Please help with listboxes and window visibility! | tomwrn | AutoPlay Media Studio 4.0 | 0 | 07-03-2003 04:23 PM |
| INFO: Dynamically Resizing an Application at Runtime | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-21-2002 03:23 PM |
All times are GMT -6. The time now is 01:57 PM.








Linear Mode

