dpatfield66
Well-known member
- Joined
- Apr 6, 2006
- Messages
- 136
- Programming Experience
- 5-10
How can I get the entire text to be selected in a masked text box?
I have code on GotFocus() that does it for all my masked text boxes, but isn't there some kind of property I could select that would let this happen.
Right now, without my code, if a user enters a masked text box, the cursor goes to the end of the value. I'd like the cursor to highlight the entire text, so a user can override the value without having to move the mouse, or keys.
I have code on GotFocus() that does it for all my masked text boxes, but isn't there some kind of property I could select that would let this happen.
Right now, without my code, if a user enters a masked text box, the cursor goes to the end of the value. I'd like the cursor to highlight the entire text, so a user can override the value without having to move the mouse, or keys.