Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: amanta4ray on Fri 23/01/2009 16:31:43

Title: GUI selectedIndex help
Post by: amanta4ray on Fri 23/01/2009 16:31:43
I was wondering if there was a way to get the selected item of your save listbox to show up in the textbox.  

I saw that there was an old post (2005) related to this, but I can't seem to change that over to the new version of AGS.

www.adventuregamestudio.co.uk/yabb/index.php?topic=21535.0

 
                                       Thanks in advance








Title: Re: GUI selectedIndex help
Post by: Pumaman on Fri 23/01/2009 18:31:28
txtTextboxName.Text = lstSaveGamesList.Items[lstSaveGamesList.SelectedIndex];
Title: Re: GUI selectedIndex help
Post by: amanta4ray on Fri 23/01/2009 18:44:03
  Thank-you very much!!!

            It worked great...and I thought I had tried every
imiginable combination.... ;D