G
Guest
I am using .NET 4.2 and I can't get the textbox select functions to work. I did a simple test - added a textbox to the form than added the following code after initializecomponents is called
Textbox1.selectall();
The text is not selected. Does the textbox have to have focus for the select functions to work. What I am trying to do is create a cursor for a numeric keypad I created.
Textbox1.selectall();
The text is not selected. Does the textbox have to have focus for the select functions to work. What I am trying to do is create a cursor for a numeric keypad I created.