StartLogic - Affordable Webhosting

Load ListBox from Text File


iCLIPART.com

Hi,

I’m fulfilling a promise made to Lukas that I would post an example on how to Load ListBox Text & Data from a Text File. This will also help others who need this reference.

In this example, I’m not using the popular Delimited Function. The function looks daunting to some friends who are starting out with AMS. Instead, I’m using the following powerful Actions, yet very simple to use:
> TextFile.ReadToTable
> String.Find, String.Mid and String.Left

With only a few short lines of scripts, the task is done. Read CSV File, pass the Text & Data accurately to a ListBox.

I’ve also added 2 very useful ListBox features to this example :
1. Select an Item in the ListBox, a Label Object will show the Data
2. Double-Click an Item in the ListBox, a Webbrowser will open.

Screen Shot : Load ListBox Text & Data from a Text File

Load ListBox Text & Data from a Text File

Please Login or Register to download this file.

Please leave a comment.


Free Tools and Content for 3D Artists

  • Share/Save/Bookmark

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>