Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webbrowser and clipboard vs editbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00718643
Message ID:
00718668
Vues:
17
>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..."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform