TeeTree VCL for Borland Delphi and C++ Builder.
- Posts: 12
- Joined: Wed Oct 16, 2013 12:00 am
In the TTree component of TeeChart 2014 of May,1 2, 2014, creating a node might result in an access violation in method TCanvas3D.AssignFont3D of unit TeCanvas.pas.
The reason is that method TCanvas3D.AssignFont3D misses a check whether the member View3DOptions is actually assigned. The following replacement for the method fixes the problem:
Code: Select all
procedure TCanvas3D.AssignFont3D(const AFont:TTeeFont);
if (not Supports3DText) and
(View3DOptions.ZoomText<>ztNo) and (View3DOptions.ZoomFloat<>100) then
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
Thank you very much for your suggestion. It has been implemented in our sources for the next maintenance release.