Use utility procedure AppendAsSection

<< Click to Display Table of Contents >>

Navigation:  Programming > Sections >

Use utility procedure AppendAsSection

procedure TWPALL.Append2Click(Sender: TObject);

begin

 WPAll.HeaderFooter.AppendAsSection(WP1.HeaderFooter);

 WPAll.HeaderFooter.AppendAsSection(WP2.HeaderFooter);

 WPAll.HeaderFooter.AppendAsSection(WP3.HeaderFooter);

end;