New topic: Can't Get My Text...
<http://forums.realsoftware.com/viewtopic.php?t=30614> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message Wolfsnap Post subject: Can't Get My Text...Posted: Thu Oct 22, 2009 10:27 pm Joined: Thu May 10, 2007 10:25 pm Posts: 30 How do you go about getting the text from an editfield with an index number? I have an editfield that I replicate in a window, and I need to read the text from each one - and I cannot find a way to do it in the LR or the UG. HELP! Marc Top knowmad Post subject: Re: Can't Get My Text...Posted: Thu Oct 22, 2009 11:02 pm Joined: Sun Aug 26, 2007 3:04 pm Posts: 4 I dropped two textfields onto a window and gave them the same names, indices 0 and 1, and different values for their Text properties. Then I wrote this code in the window open event and the text was displayed just fine. MsgBox TextField1(0).Text + " " + TextField1(1).Text 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]
