Tabbing into controls (selected text)

dpatfield66

Well-known member
Joined
Apr 6, 2006
Messages
136
Programming Experience
5-10
When tabbing into a control, regardless of which type, I'd like the entire value to be selected for editing purposes. Some do it already, but masked textboxes seem to give me problems.

I'm using code on GotFocus() that selects the entire value, but is there some property I can select instead, so I don't have to write event code for every single masked textbox? I tried "Overwrite", etc... but that's a different purpose.
 
I'm not sure I understand this reply in relation to my previous post.
Are you saying that I need to incorporate this into my gotfocus() event handler? Or my event handler when someone exits a control and goes to the next one? I was trying to see if I could avoid this for each and every control that I want selected like that.
 
Back
Top