Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webbrowser and clipboard vs editbox
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00718643
Message ID:
00718668
Views:
16
>Mike,
>
>>A couple of wild guesses:
>>
>>- maybe related to selstart and sellength on the textbox
>
>there's no selected text in the edt at the time of the second attempted paste
>
>>- trailing newline?
>
>the trailing newline is needed, the editbox is basically becoming a set of lines of values to undergo further processing.
>
>the only overridden properties aor for size/postion and binding the control to a form property.

Well it was just a wild guess, but I'm theorizing that the text somehow got selected without appearing to be selected. Explicitly unselecting would cover that possibility. As to the trailing newline, broaden that to cover the issue of variations in the way that newlines are expressed (i.e. CR/LF), and consider the possibility of an imbedded special character that isn't displaying. I wonder if selecting the resultant editbox/textbox contents (after the 2nd paste) and pasting it into something else, or checking its length might reveal any surprises. That's all that comes to mind offhand. Sorry if it's no help.

Mike
Montage

"Free at last..."
Previous
Reply
Map
View

Click here to load this message in the networking platform