>When you setfocus() on an editbox (or a textobox) is there a way to automaticly move the cursor to the end of it? I was thinking about sending an 'END' keystoke, but that seems a bit tacky.
>
>Thanks!
I was requested to do this by my users. They wished to be placed at the end of the memo field in a n edit box when ever they entered the field. As the memo was historical data and the most current was at the end. So I put the following code in the GotFocus Method of the edit box:
KEYBOARD '{CTRL+END}'
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope