Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Paste from clipboard & cursor position...
Message
From
22/09/2003 12:37:23
 
 
To
22/09/2003 12:21:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00831116
Message ID:
00831167
Views:
20
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
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform