|
-
July 6th, 2000, 03:45 PM
#1
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
-
July 6th, 2000, 04:36 PM
#2
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
John Pirkey
MCSD (VB6)
http://www.stlvbug.org
-
July 7th, 2000, 07:54 AM
#3
Re: masked edit text box
errr...were those always there?!? 
*Looks around sheepishly waiting for other programmers to make fun of him*
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|