We are needing to upgrade our version of TeeTree, so I downloaded the latest version but now the overriding the procedure DrawShapeCanvas gives us issues.
We override the function to do some custom drawing and get the following error.
- "Declaration of 'DrawShapeCanvas' differs from previous declaration"
Current override
procedure DrawShapeCanvas(ACanvas:TCanvas3D; Const R:TRect); override;
I can't find anywhere what the new deceleration of DrawShapeCanvas is defined as (help files or online).
Could someone with the fullsource code look it up for me in TeeTree.TTreeNodeShape
Prev TeeTree version - 8.08
New version - 2017.22
DrawShapeCanvas Change
Re: DrawShapeCanvas Change
Hello,
This is the current declaration of DrawShapeCanvas:
Note the "const" in the first argument.
This is the current declaration of DrawShapeCanvas:
Code: Select all
procedure DrawShapeCanvas(const ACanvas:TCanvas3D; Const R:TRect);
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: DrawShapeCanvas Change
Thanks, that works now.