New topic: Sending a message from one textfield to another...
<http://forums.realsoftware.com/viewtopic.php?t=36449> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message Razorhead90 Post subject: Sending a message from one textfield to another...Posted: Sat Nov 27, 2010 2:20 am Joined: Fri Nov 26, 2010 9:29 pm Posts: 3 Hey, Is is possible to send a message from one TextField to another TextField. I have looked around the forums and did not find anything related to what I was looking for. Top paulg Post subject: Re: Sending a message from one textfield to another...Posted: Sat Nov 27, 2010 2:31 am Joined: Thu Oct 05, 2006 11:45 pm Posts: 950 Location: Sol:Planet Earth:North America:California Based on your description you want to type something in field 1, click the Send Button and have the text move to field 2? If so: Assuming default names for the TextAreas: In the action event of the Send Button: Code://Copy the Text from Field 1 to Field 2 TextArea2.Text = TextArea1.Text //Remove the text from Field 1 TextArea1.Text = "" Basically you just use the .Text property of any textfield to get the current contents of that field. You can then assign to any other .Text property or String variable. Hope that helps, -Paul _________________ This message made with 100% recycled pixels. MacBook CD2.0/2GB/OSX 10.6.5 / REAL Studio 2010R1 Pro 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]
