Mirror a page in Delphi
Hi.
I have a page with two columns and
my Question how to flip, mirror the columns
I found this for C++ but I don't have any idea
what ReportComponentBase could be.
By the way this script is for Net.
foreach (Base c in report.AllObjects)
{
if (c is ReportComponentBase && !(c is BandBase))
{
ReportComponentBase obj = c as ReportComponentBase;
BandBase parent = obj.Parent as BandBase;
if (parent != null)
obj.Left = parent.Width - obj.Right;
}
}
I have a page with two columns and
my Question how to flip, mirror the columns
I found this for C++ but I don't have any idea
what ReportComponentBase could be.
By the way this script is for Net.
foreach (Base c in report.AllObjects)
{
if (c is ReportComponentBase && !(c is BandBase))
{
ReportComponentBase obj = c as ReportComponentBase;
BandBase parent = obj.Parent as BandBase;
if (parent != null)
obj.Left = parent.Width - obj.Right;
}
}