Hearder and footer is not cleaning

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

Hearder and footer is not cleaning

Post by alexandreq »

Hello sergey,

I use DBSrichViewEdit and when I have a text opened with header and footer and I close my table, the header and footer doesn't clean.

Even with SRichViewEdit, when I clear it, header and footer is still loaded.

For example:

SRichViewEdit.Clear;

is it a bug or something I am doing wrongly?

thanks
Alexandre
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Are you sure that you call SRichViewEdit.Clear, not SRichViewEdit.RichViewEdit.Clear ?
SRichViewEdit.Clear clears a header and a footer.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

Hi Sergey,

Yeah, you are right, I did that wrong, but even though I have a problem.

When I have an opened doc with DBSRichViewEdit and this doc has a header or footer, then I close the table, the DBSrichview clean the richview but the header and footer isn't clean.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I confirm this problem. It will be fixed in the next update.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

thanks sergey.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

A fixed version is uploaded (for registered users)
Post Reply