I get an AV when I dock a Form, wich contains a TChart, into another Form. The error does not occure 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; Chart1->AutoRepaint = false;Start the application and dock Form2 to Form1 by dragging it with the mouse.
Can anybody reproduce this or has an idea whats going wrong?