Hello, I just recently got Visual Studio .NET and been trying to create some applications but there is something I don't understand and that is a TextBoxs SelectionStart, it's supposed to be the same as Visual Basic 6s SelStart right? But When ever
I try to use it like this:
txtChat.SelectionStart = Len(txtChat.Text)
It simply doesn't work, and I am still wondering why.
- Henning
-
-
This is a guess cause I don't use VB.Not but
txtChat.SelectionStart = txtChat.Text.Length -
SelectionStart is the beginning of the string:
txtChat.SelectionStart = 0
txtChat.SelectionLength = txtChat.Text.Length
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.