-
Is there a better way to add text to a text box, other than
saying:
text1.text=text1.text + "whatever new text"
I am logging RS232 info coming in, and don't like the
delay I'm seeing from re-writing the entire text box.
I figure there must be a more elegant way of just appending
a new line of text to the bottom of the text box.
Thank you.
Phil Hall
-
Try storing all the text to a string variable, and when you know the function is done adding text, you can have Text1 equal the variable.
-
Call the following function,
NOTE: Inbuff is the data you want to add to Text1
Sub HandleInput(inbuff As String)
Text1.SelStart = Len(Text1.Text)
Text1.SelText = inbuff
End Sub
[Edited by Sacred_knight on 04-06-2000 at 03:05 PM]
-
You can put in your strings with sendkey into the textbox.