Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange memo editing behaviour
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125100
Message ID:
00126458
Vues:
47
>>I found a MS Knowledgebase item in a similar vein using a search keyword of 'SelStart' (Q131095). It talks about the NODEFAULT keyword and insertion of text but doesn't appear to help me.
>>
>Rex,
>
>SelStart is a read write property, that means you can;
>
>THISFORM.nSelStart = THIS.SelStart
>* Insert your text
>THIS.SelStart = THISFORM.nSelStart

Jim,

Thanks again for your reply. I understand what you are saying, and I know that I can save the SelStart position. However, when do I save it?

For example, the user starts typing into a new Textbox, thus the SelStart value is continually updated to the current location of the insertion point. The user then uses the mouse and clicks somewhere, say three chars left of the end of the text and then types a new word in. Its at this point that SelStart is reset to zero. Can I do anything with the mouse click?

Rex
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform