Hi, I want to select the text in a textbox, in the same manner when user double-click into the textbox.I try with:$textbox1.Select(0, $textbox1.Text.Length)I try with:$textbox1.SelectAll()and$textbox1.Select()but nothing.I found many examples for C#, but for Powershell not.Please, can someone help me?EDIT:---------Ok, how a stupid I am!This works: $textbox1.Focus() $textbox1.Select(0, $textbox1.Text.Length) Sorry, but I'm an absolute beginners!
cillox2012-01-31 06:54:40
Select text in a textbox
Select text in a textbox
Set the TextBox's HideSelection property to false and you no longer need to focus on the control. David
davidc2012-01-31 10:40:42
davidc2012-01-31 10:40:42
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.