Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding data to memo field
Message
 
To
17/11/2015 10:33:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01627541
Message ID:
01627586
Views:
49
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform