>I've got some peculiar interactions going on and wondered if anyone has already solved this problem.
>
>Basically I have a VFP form with a webbrowser control and a couple of editboxes. The browser is pointing to a local file and it consists of three tables inside another table. This allows easy selection of vertical blocks of text. When I copy the selection to the clipboard and then paste it into the VFP editbox it works great the first time. If I copy another block of text to the clipboard and then put focus back to the editbox to paste it, the last pasted content disappears.
>
>If I copy/paste text out of a text file opened in the editor this strangeness doesn't occur.
>
>If I change focus to another VFP control before putting new data in the clipboard the strangeness doesn't occur.
>
>I'm tending to think it's somehow related to the additional information attached to the clipboard content but I'm not sure how to go about converting it to just plain text.
>
>Anyone got any ideas?
A couple of wild guesses:
- maybe related to selstart and sellength on the textbox
- trailing newline?