Access Violation Error when TChart is docked
I get an AV when I dock a Form, which contains a TChart, into another Form. The error does not occur when the AutoPaint property of the TChart is set to True. I have tested this with C++Builder XE6, XE7 and Delphi Builder XE6 with the standard version of TeeChart. Steps to reproduce: Create a new application with two Forms (Form1 and Form2). Both Forms should be shown. In the constructor of Form1 set DockSite = true Paste the following code in the constructor of Form2: DragMode = dmAutomatic; DragKind = dkDock; TChart* Chart1 = new TChart(this); //don't forget to delete Chart1->Parent = this;
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.