ListBox Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RaZenKane
    Forum Member
    • Sep 2002
    • 1

    ListBox Help

    I am using a trial version of your AMS 4.0 and was wondering if there is a demo anywhere of how to make it to when you click on something in the list box, that it opens the ffile for install, new to this stuff thanx in advance [img]/ubbthreads/images/icons/smile.gif[/img]
  • Lorne
    Indigo Rose Staff Member
    • Feb 2001
    • 2729

    #2
    Re: ListBox Help

    Have a look at the "Adding items to a list box (with data)" topic in the help file under Actions / Examples / Advanced. (Make sure you update the help file to the latest version, dated September 24).

    That should give you the basics of how list the whole item::data thing works.

    Basically you put whatever you want in as the list item, and put the full path to the file in the data part. (You can use the "List Box Object - Add File" action to do that easily.) Then on the list box object's On Selection Changed event, you get the selected item's index, use that to get the data for the item at that index, and then just do a File - Execute action on that path.
    --[[ Indigo Rose Software Developer ]]

    Comment

    Working...
    X