Control 'Chart' has no parent window

edited 6:43PM 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 6:43PM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.