Thursday, November 26, 2009

Set Cursor Position in TextBox.

If we want to set position of cursor to any character index in textbox by using following property:
TextBox1.SelectionStart= 2; //this will set cursor after 2nd character in textbox

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates