How can I copy a determine page number?

General TRichView support forum. Please post your questions here
Post Reply
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

How can I copy a determine page number?

Post 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
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

There is a problem is the document contains tables split across pages, but we will try to create an example.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

Hi Sergey,

Thanks very much.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post 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
Post Reply