moonrise
asked on
How can I position the cursor within an MaskEdit
I want create an OnEnter event for a MAskEdit in which I position the cursor to the very beginning of the field. Is that possible ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi mayhew, thank you for your answer, it does just what I needed. You entered the answer as a comment and I don't think I can give you the points.
ASKER
Forget last comment.
MaskEdit1.SelStart := 0;
on the OnEnter event.
That should do it.