Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Paste from clipboard & cursor position...
Message
De
22/09/2003 12:37:23
 
 
À
22/09/2003 12:21:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00831116
Message ID:
00831167
Vues:
19
Thanks again for the reply Claudio...
To help clarify matters, what I would like to have happen is this:
1. Within the EditBox is the phrase, "Hello World".
2. I copy the word "fantastic" into the clipboard.
3. I position my cursor insertion point between "Hello" and "World".
4. I press Ctrl-V and I would like to see the cursor show up after "fantastic", but before "World".

Based on what you are suggesting...maybe I need a way to capture the cursor insertion point so I know where I started?? Is there a property or method that allows me to know the cursor insertion point?

thanks
Douglas
>>
> Let me to understand better. . The field had (for instance) "abcdef_" so you inserted "ghij" and you want the cursor to be after "f"..
>
> If so.. Here we go..
>
>
>nwlenght                 = len(allt(Thisform.myedit.value))
>*
>Thisform.myedit.value    = Thisform.myedit.value + _cliptext
>Thisform.myedit.selstart = nwlenght
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform