Moving cursor to end of line

Amy35

Registered User.
Local time
Today, 21:30
Joined
Mar 12, 2002
Messages
53
Hi
Remember my question a week or so ago...I have a form with every field locked and disabled except one. When the user enters the form all the text from that one field is highlighted...thereby if a user hits any key all the text is gone. I have found a way to have the cursor go to the beginning of the line, but I want it to go to the end of the line and rest there.
here's my code

Private Sub ProblemDescription_Enter()
ProblemDescription.selstart = 0
ProblemDescription.sellength = 0
End Sub

For some reason my initial message was truncated....

Jack I searched help for sellength and selstart it wasn't very helpful. I'm thinking there's some EOL function. Thanks.

Amy




[This message has been edited by Amy35 (edited 05-14-2002).]
 

Users who are viewing this thread

Back
Top Bottom