#1 2015-02-12 14:42:36

BartVB
Member
Registered: 2015-02-12
Posts: 1

get background on section with text using TGDIPages

Hi,

I want to generate a simple report using TGDIPages.
I want the pages to be white, but in the rectangle where there is text, I want a light grey background and in the title section I want a darker grey background.
Both backgrounds should be equally wide and should stop under the last line of text on that page.
Any idea how I can accomplish this?

Thanks in advance!

Sincerely,

Bart

Offline

#2 2015-02-12 15:32:20

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: get background on section with text using TGDIPages

You can take a look about how tables are drawn.
They already are doing some background colors drawing.

Offline

Board footer

Powered by FluxBB