Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 23.01 now available including Delphi 12.3 64-bit IDE support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Add TppLabel to Region in run-time
rbuser
August 2004
edited August 2004
in
General
Hi gurus,
I would appreciate if you could provide some code snippet how to dinamically
add TppLabel to TppRegion in run-time.
With kind regards,
Dmitry
Comments
nicocizik
August 2004
edited August 2004
Hi Dmitry,
To add a report component to a region, you simply need to assign its Region
property to the propert region component. For example...
lLabel := TppLabel.Create(Self);
lLabel.Band := ppReport1.DetailBand;
lLabel.Region := ppRegion1;
lLabel.Text := 'I am a label!!';
--
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This discussion has been closed.
Comments
To add a report component to a region, you simply need to assign its Region
property to the propert region component. For example...
lLabel := TppLabel.Create(Self);
lLabel.Band := ppReport1.DetailBand;
lLabel.Region := ppRegion1;
lLabel.Text := 'I am a label!!';
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com