Hey. On my forum I haev a rich text box and I have the readonly property set to true. Whenever the box appears, it automatically has all the text highlighted! How can I make it so this doesnt happen?
Thanks
John
Printable View
Hey. On my forum I haev a rich text box and I have the readonly property set to true. Whenever the box appears, it automatically has all the text highlighted! How can I make it so this doesnt happen?
Thanks
John
What if right before it appears you do this:
VB Code:
RichTextBox1.Select(0,0) ' makes the selection start at 0 i.e. first charactor and length is 0. 'Nothing Should be selected