Answers for "move the users cursor winforms c#"

C#
1

c# winforms textbox cursor position

//If you want to put the cusror at the end of text use this:
TextBox1.SelectionStart = TextBox1.Text.Length;
TextBox1.SelectionLength = 0;
// Or use this for custom location int CustomIndex 
TextBox1.SelectionStart = CustomIndex;
TextBox1.SelectionLength = 0;
Posted by: Guest on August-30-2021
0

how to make a custom cursor in windows forms c#

"name of control".Cursor = new System.Windows.Forms.Cursor(Properties.Resources."name of image".Handle);
Posted by: Guest on October-21-2020

C# Answers by Framework

Browse Popular Code Answers by Language