hi to all,
i'm trying to select all the text in a textbox control (winform) on the enter event.
textBox1.SelectionStart = 0;
textBox1.SelectionLength = textBox1.TextLength;
when the enter event of the textbox si fired with the tab, the text is selected correctly.
but when the enter event of the textbox si fired with the mouse click, no text will be selected in textbox
does any body knows why ? if yes can you tell me what the solution is ?
best regards and thanks in advance