-
masked edit text box
when the masked edit box receives the focus I'd like the text in the box to all be selected for easy replacement...due to a date picker dialog I cannot use a simple solution which was to blank the edit box when it receives focus because that simply removes the date selected from the calendar dialog form.
DLW68
-
Re: masked edit text box
why couldn't you do something like this:
With MaskEdBox1
.SelStart = 0
.SelLength = len(.Text)
End With
the text will be selected whenever the masked edit box receives the focus.
hope this helps,
John
John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org
-
Re: masked edit text box
errr...were those always there?!? :)
*Looks around sheepishly waiting for other programmers to make fun of him*