Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding data to memo field
Message
De
17/11/2015 10:33:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01627541
Message ID:
01627560
Vues:
54
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform