Formula for pages

General TRichView support forum. Please post your questions here
Post Reply
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Formula for pages

Post by Ceprotec »

Hi Sergey! Okay?

I was thinking how I could solve my problem. There is one function that puts numbers on the pages, the PAGENOFIRST. I would like to make a formula identical to this but instead of putting ... 1,2,3,4 would put a string, example: {FOLHA 1}, { FOLHA 2 }, {FOLHA 3}, {FOLHA 4}...??

And how I would define the position in which it appears that string?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can draw your text in OnPaintPage event.
See the example in Demos\CustomDraw\Header and Footer\
Post Reply