Control 'Chart' has no parent window

edited 8:24PM in FastReport VCL 5
Delphi XE5 pro and latest FR 5.2 enterprise , TeeChart2014 with source (Tee919)

I can see the chart on the designer, but whenever I click on the control I get above message.
I recompiled ...

thank you ,
Vojko Cendak

Comments

  • gpigpi
    edited 8:24PM
    Try to update TeeChart or modify frxChart.pas:
    procedure TfrxChartView.CreateChart;
    begin
    FChart := GetChartClass.Create(nil);
    // FChart := TChart.Create(nil);
    with FChart do
    begin
    Color := clWhite;
    BevelInner := bvNone;
    BevelOuter := bvNone;
    {$IFDEF DELPHI19}
    if FChart.ParentWindow = 0 then
    FChart.ParentWindow := frxParentForm.Handle;
    {$ENDIF}
    Name := 'Chart';
    Frame.Visible := False;
    View3DOptions.Rotation := 0;
    Title.Text.Text := '';
    end;
    
    end;
    

Leave a Comment