Page 1 of 1
How can I copy a determine page number?
Posted: Mon Apr 23, 2012 11:16 am
by alexandreq
Hello Sergery,
I have a doc with 10 pages, I'd like to copy the page 8 from my DBSrichviewEdito to a SRichViewEdit, how can I do this?
Thanks
Alex
Posted: Thu Apr 26, 2012 12:34 pm
by Sergey Tkachenko
There is a problem is the document contains tables split across pages, but we will try to create an example.
Posted: Thu Apr 26, 2012 1:55 pm
by alexandreq
Hi Sergey,
Thanks very much.
Posted: Wed May 02, 2012 8:14 pm
by Sergey Tkachenko
Ok, finally we created a demo:
http://www.trichview.com/support/files/ ... pypage.zip
It copies the page in (maximum) 3 steps: the upper table (it may be started on the previous pages), the middle of page, the lower table (it may continue on the next page).
Note that this code will not be completely correct in future versions, when TSRichViewEdit will support page breaks inside table cells.
Posted: Wed May 02, 2012 8:52 pm
by alexandreq
Hi Sergey,
It is a very nice code and it fits me very well.
I developed an activity that is linked to a determined page and the other parts the student can't be access .
I thank you very much my friend.
Have a nice day
Alexandre