General TRichView support forum. Please post your questions here
-
csterg
- Posts: 306
- Joined: Fri Nov 25, 2005 9:09 pm
Post
by csterg »
Hello,
I want to test (in a generic way) if some selected text exists and copy it to clipboard, e.g.
if RVE.SelectionExists then RVE.Copy;
The above code does not work if the selection is within a table. What is the best way to fix that?
Thanks,
Costas
P.S. I know it works if i use the RVData of the table, but how do i get that in a generic way?
-
Sergey Tkachenko
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
-
Contact:
Post
by Sergey Tkachenko »
This code must work even if a selection is in a table cell.
If not, please give me step-by-step instructions how to reproduce.
-
csterg
- Posts: 306
- Joined: Fri Nov 25, 2005 9:09 pm
Post
by csterg »
Are you sure? I don't do anything special, just a table in a document. Using RV12.5.2
Costas
-
Sergey Tkachenko
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
-
Contact:
Post
by Sergey Tkachenko »
Yes, I am sure. But may be that specific version of TRichView had a bug.
-
csterg
- Posts: 306
- Joined: Fri Nov 25, 2005 9:09 pm
Post
by csterg »
I will soon upgrade to the latest, so i will get back to check it,
Thanks