Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox problem
Message
From
12/10/2001 15:27:45
 
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00567888
Message ID:
00567913
Views:
16
>>Hey, I'm coding myself an irc-client ;) and I have a little problem with the textbox where all the text comes... it always goes back to the top when new text appears, any way of keeping it down?
>
>the textbox has vertical scrollbar which goes back to the top when new text appears... I want it to stay down, somehow

Use the SelStart and Len() function to reposition the insertion point within the textbox:
txtEdit.SelStart = Len(txtEdit.Text)
Although this will put any new text to the bottom of the text box.
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform