Link to home
Start Free TrialLog in
Avatar of LeTay
LeTay

asked on

Position cursor in a TEdit field

How can I programmatically position the cursor after the "end" of the string in a TEdit object ?
Avatar of Manuel Lopez-Michelone
Manuel Lopez-Michelone
Flag of Mexico image

Check:

Edit1.setfocus; //Needed if you are outside the edit
Edit1.selstart:=0; //or whatever.

regards
lopem
SOLUTION
Avatar of Norie
Norie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial