New topic: Noob Question :) Help Creating a rolling text log
<http://forums.realsoftware.com/viewtopic.php?t=47166> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message mikecotrone Post subject: Noob Question :) Help Creating a rolling text logPosted: Tue Mar 05, 2013 2:40 pm Joined: Tue Mar 05, 2013 2:33 pm Posts: 1 Hi I am trying to write some code to write a string to a window object. I am creating a logging window that will just keep a rolling log of what a user inputs in another window. I can get this to work but it keeps over writing itself each time a user inputs and presses the OK button. This is the code I have written for my "Action" on my button. // Declarations and Variable Definitions Dim Cr as String Cr = EndOfLine.Macintosh // Call Function to get IP Address and Port from User Call RecordIPPORT // Enable the Vertical Scrolling Bar RollingLog.LogText.ScrollBarVertical = True // Set the Loop to show the output For counter as Integer = 1 To 10 RollingLog.LogText.Text ="IP Address:"+DetectiveMain.DetectiveIPTextField.Text+" Port:"+DetectiveMain.DetectivePortTextField.Text+Cr Next I am obviously missing something I have used the appendtext property of TextArea but that just appends text to my log on the same click of "OK". Basically if I input 10.10.10.10 port 23 then press ok followed by 12.12.12.12 port 22 then I want the log window to show both entries. Thanks as I am a CCIE trying to learn Read Studio Mike Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- 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]
