Page 2 of 2

Posted: Tue Aug 05, 2014 1:32 pm
by Sergey Tkachenko
TSRichViewEdit supports headers and footers, but implementation is different in the latest beta version and in older versions.

In older versions, header is stored in TSRichViewEdit.RVHeader, footer is stored in TSRichViewEdit.RVFooter. The same header and footer are displayes for all pages. They can be shown/hidden using TSRichViewEdit.PageProperty.HeaderVisible/FooterVisible.

The latest beta version (which will be released as TRichView 15 and ScaleRichView 6) supports special headers for the first page and odd/even pages. Headers are stored in TSRichViewEdit.SubDocuments[].
Special headers and footers for the first page are shown if TSRichViewEdit.PageProperty.TitlePage = True.
Special headers and footers for even pages are shown if TSRichViewEdit.PageProperty.FacingPages = True.
TSRichViewEdit.PageProperty.HeaderVisible/FooterVisible can show/hide all kinds of headers/footers.
RVHeader and RVFooter properties still exist: these are editors that contain headers/footers when they are being edited.
Besides, the new versions of the components support page number and page count fields that can be inserted in headers and footers.

Posted: Tue Aug 05, 2014 3:00 pm
by Ceprotec
If I have a very old version, and upgrade to this number 15, have lost code? Or remain the same?
And this version 15, has already been launched?

Posted: Wed Aug 06, 2014 7:08 am
by Sergey Tkachenko
Answered in a private message