[dcc32 Error] HeaderFooterTemplate.pas(298): E2197 Constant object cannot be passed as var parameter
[dcc32 Fatal Error] HeaderFooterApplication.dpr(6): F2063 Could not compile used unit 'HeaderFooterTemplate.pas'
The OnGetNodeHorizontalTextAlign is not a property or method, it is an event. Please implement the event instead of trying to call it. The event will be called automatically.