Hi, I am using SRichViewEdit, and loop the database content, input them to SRichViewEdit, around 20 pages.
How can I detech new page is added? I want to add TWO lines on the top of each page, not Header. Because they are different on every page.
Any idea.
Thank you very much!
Detect new page added
Re: Detect new page added
Hi,
not sure, but maybe this event can help you:
http://www.trichview.com/help-scalerich ... hanged.htm
Greetings...
not sure, but maybe this event can help you:
http://www.trichview.com/help-scalerich ... hanged.htm
Greetings...
-
- Posts: 4
- Joined: Mon Feb 19, 2018 6:05 pm
Re: Detect new page added
Thanks!
I tried, seem it trigger with delay. After text is inputed.
Is there another way to loop all pages? Then I can insert on the top lines.
I tried, seem it trigger with delay. After text is inputed.
Is there another way to loop all pages? Then I can insert on the top lines.
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Detect new page added
When you enter text, the following steps are performed
1) text is added
2) changed paragraphs are reformatted
3) if height is changed, document is repaginated
You cannot be notified about page insertion before the first step.
I am afraid I do not know a good solution for your problem, as I understand it. Any changes in a document may move automatic page breaks, including adding your two lines at the top of pages. Probably, inserting explicit page breaks may help.
1) text is added
2) changed paragraphs are reformatted
3) if height is changed, document is repaginated
You cannot be notified about page insertion before the first step.
I am afraid I do not know a good solution for your problem, as I understand it. Any changes in a document may move automatic page breaks, including adding your two lines at the top of pages. Probably, inserting explicit page breaks may help.