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!
This forum can be browsed by the general public. Posting is no longer allowed as the product has been discontinued.
3 posts • Page 1 of 1
- Posts: 2
- Meble kuchenne na zamówienie - na wymiar - Wrocław
- Joined: Mon Jan 30, 2012 11:39 pm