Error by pasting Text
Posted: Mon Feb 07, 2011 5:32 pm
Hi,
I try to paste some Text from one richviewedit to another.
here ist the code:
When the rve2.pastervf; will be executed, it will crash with the error that -1 not an valid index (-1 is over the maximum of the index of a list)
can you help me by this error?
I try to paste some Text from one richviewedit to another.
here ist the code:
Code: Select all
Clipboard.Clear;
rve.SelectAll;
rve.CopyRVF;
rve2.SelectAll;
rve2.PasteRVF;
Clipboard.Clear;
Application.ProcessMessages;
can you help me by this error?