New topic: Listbox contents into textboxes
<http://forums.realsoftware.com/viewtopic.php?t=45652> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message JayBird Post subject: Listbox contents into textboxesPosted: Sat Oct 20, 2012 12:55 pm Joined: Thu Mar 17, 2011 6:12 pm Posts: 60 Hi all, Can someone point me in the right direction to do the following: I have a listbox that has 3 columns and 3 rows name | age | sex T 89 M Y 22 F U 19 M When i select a row i want to write the rows data into a text box (e.g T 89 M) but cannot figure it out. Any help is greatly appreciated Top JayBird Post subject: Re: Listbox contents into textboxesPosted: Sat Oct 20, 2012 1:02 pm Joined: Thu Mar 17, 2011 6:12 pm Posts: 60 Im half way there NameTxtBox.Text = ListBox.Cell(ListBox.LastIndex,0) But it loads in the bottom name rather than the middle one which i am clicking - I have placed this inside CellClick Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
