Valhalla Legends Forums Archive | Visual Basic Programming | Resetting Focus

AuthorMessageTime
Topaz
How do you reset focus to the bottom line of a richtextbox?
August 14, 2005, 3:49 AM
Myndfyr
You would want it to select text starting at the index equalling the length of the text in the control, with a length of zero.
August 14, 2005, 7:16 AM
UserLoser.
[quote author=MyndFyre link=topic=12524.msg124265#msg124265 date=1124003793]
You would want it to select text starting at the index equalling the length of the text in the control, with a length of zero.
[/quote]

In other words:

[code]
RichTextBox.SelStart = Len(RichTextBox.Text)
RichTextBox.SelLength = 0
[/code]
August 14, 2005, 7:26 PM
Tontow
Search for the Keyword, " AddChat ".  Its a the a commonly used sub for text boxs in bots.
August 14, 2005, 8:21 PM
Myndfyr
[quote author=Tontow link=topic=12524.msg124327#msg124327 date=1124050916]
Search for the Keyword, " AddChat ".   Its a the a commonly used sub for text boxs in bots.
[/quote]
I don't believe he said he was making a bot.
August 15, 2005, 3:56 PM
Lead
[quote author=MyndFyre link=topic=12524.msg124375#msg124375 date=1124121407]
[quote author=Tontow link=topic=12524.msg124327#msg124327 date=1124050916]
Search for the Keyword, " AddChat ".   Its a the a commonly used sub for text boxs in bots.
[/quote]
I don't believe he said he was making a bot.
[/quote]
So true, at least I hope hes not making a bot ~_~
September 7, 2005, 2:44 PM
Topaz
Why not?
September 7, 2005, 4:24 PM

Search