|
-
Aug 6th, 2003, 08:23 AM
#1
Thread Starter
Hyperactive Member
Why does Textbox highlight text?
anyone know why when setting the text value of a textbox in runtime it highlights the text in the textbox?
-
Aug 6th, 2003, 08:45 AM
#2
i dont get the highlighting problem , but i know that if you set the SelectionStart to the length of text it should prevent it being highlighted , eg:
VB Code:
textBox1.AppendText("some text");
textBox1.SelectionStart = textBox1.Text.Length;
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Aug 10th, 2003, 03:05 PM
#3
Sleep mode
This property should be on .
Code:
textBox1.HideSelection=true;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|