Sub BuildFooterFixed(page As ABMPage,PaddingBotton As Int,theme As String)
page.isFixedFooter= True
' because we have a fixed footer at the bottom, we have to adjust the padding of the body in pixels
page.PaddingBottom = PaddingBotton
page.Footer.AddRowsM(1, True,4,4, "").AddCellsOSMP(6,0,0,0,2,2,2,0,0,0,0, "")
page.Footer.BuildGrid 'IMPORTANT once you loaded the complete grid AND before you start adding components
'
page.Footer.UseTheme(theme)
End Sub