>>In my application when I click on a command button it opens up a memo field for editing but the cursor is always pointing to the top of the memo field
>>
>>How do I get the cursor to start at the end of the memo field?
>
>If you're using the straight command, then
>
>modify memo mymemo range len(mymemo), len(mymemo)
>
>but I wouldn't recommend doing that - the style and positioning of the window is up to the user and is saved in a foxuser file (which is kind of vulnerable so you'd have to manage it and catch errors and react to them); you've read probably 2000 messages here about it and why is it not wise to have a foxuser file in runtime. Rather build a form with an editbox and show your memo in it - bind it, copy value forth (and back if the user clicks OK). It's a form, you're in control.
That makes a lot of sense
Thanks as always Dragan
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing