Reputation: 449
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:
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?
Upvotes: 4
Views: 263
Reputation: 449
Like David said, the question is answered for now. I think any new updates on this issue will be seen at QC.
https://quality.embarcadero.com/i#browse/RSP-11239
Upvotes: 1