Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cursor location in masked edit control

Status
Not open for further replies.

rgordley

Programmer
Apr 30, 1999
63
US
Is there a way to make the cursor appear at the beginning of the masked edit control when it is clicked on?&nbsp;&nbsp;<br><br>I tried &quot;mskMyEdit.selstart=0&quot; in the gotfocus event, but this seems to only work on the first masked edit control clicked on, and it only works once each time the form is loaded.<br><br>
 
Change your code from gotfocus to click event. It will work.
 
Asif:<br><br>The masked edit control does not have a click event<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top