S
small pig
Unregistered / Unconfirmed
GUEST, unregistred user!
这是fastreport里runtime的例子一部分,b.SetBounds(0, 20, 0, 20);(参数分别为:左、上、宽、高),奇怪怎么btReportTitle的width为0呢?
b := TfrBandView.Create;
// create Title band
b.SetBounds(0, 20, 0, 20);
// position and size in pixels
b.BandType := btReportTitle;
// (only Top and Height are significant
Page.Objects.Add(b);
// for the band)
b := TfrBandView.Create;
// create Title band
b.SetBounds(0, 20, 0, 20);
// position and size in pixels
b.BandType := btReportTitle;
// (only Top and Height are significant
Page.Objects.Add(b);
// for the band)