Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
TChart + ObjectByName
rbuser
January 2002
edited January 2002
in
General
The Report.ObjectByName function does not appear to find TChart controls
although all other controls are found. Is there any way I can use
ObjectByName or any other method to locate a TChart compoent(s).
Thanks in advance
Comments
digitalmetaphors
January 2002
edited January 2002
It is working for me. If you have a subreport, you'll have to call
ObjectByName on every subreport as well.
lbFound := ppReport1.Objectbyname(liBand, liCompIndex, Edit1.Text);
if not(lbFound) then
lbFound := ppSubreport1.Report.Objectbyname(liBand, liCompIndex,
Edit1.Text);
Cheers,
Jim Bennett
Digital Metaphors
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
This discussion has been closed.
Comments
ObjectByName on every subreport as well.
lbFound := ppReport1.Objectbyname(liBand, liCompIndex, Edit1.Text);
if not(lbFound) then
lbFound := ppSubreport1.Report.Objectbyname(liBand, liCompIndex,
Edit1.Text);
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com