adding a component to a region at run time
i want (ok not really want but need) to create my tppdbtext components
at run time and assign them to different region components. i have the
objects created ok, but they don't seem to "belong" to the region i want
- if i check the region.objectCount it is 0. although the band
objectcount shows them all.
how can i assign a component to a region at run time?
Thanks!
-martha
at run time and assign them to different region components. i have the
objects created ok, but they don't seem to "belong" to the region i want
- if i check the region.objectCount it is 0. although the band
objectcount shows them all.
how can i assign a component to a region at run time?
Thanks!
-martha
This discussion has been closed.
Comments
Every TppComponent descendent has a Region property. Setting this property
will assign that component to that region. For instance...
ppLable1.Region := ppRegion1;
Note: Nested regions are not supported in ReportBuilder.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com