Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: XE5 - FastReport ChartObject Missing


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 32 - Last Post: May 28, 2014 11:35 AM Last Post By: Dmitry Anisimov Threads: [ Previous | Next ]
Laura Warrin

Posts: 8
Registered: 6/24/02
XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 1, 2013 5:54 AM
After installing XE5 I attempted to open a Fastreport generated in XE4. I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I would appreciate any help! THANKS!
Yeray Alonso

Posts: 75
Registered: 6/12/11
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2013 7:01 AM   in response to: Laura Warrin in response to: Laura Warrin
Laura Warrin wrote:
I did a build on frxTee19.dpk and fsTee19.dpk and then installed dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I'd suggest you to directly contact FastReport guys to get concrete instructions about how to build the packages; they are who support and maintain the TeeChart integration into their reporting tool.

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Michael Philipp...

Posts: 41
Registered: 10/10/08
Re: XE5 - FastReport ChartObject Missing [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 3, 2013 3:39 AM   in response to: Yeray Alonso in response to: Yeray Alonso
Hello,

Today FastReport VCL for XE5 will be released.

Or did you mean "FastReport Embarcadero Edition"?

02.10.2013 18:02, Yeray Alonso wrote:
Laura Warrin wrote:
I did a build on frxTee19.dpk and fsTee19.dpk and then installed dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I'd suggest you to directly contact FastReport guys to get concrete instructions about how to build the packages; they are who support and maintain the TeeChart integration into their reporting tool.

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Michael Philipp...

Posts: 41
Registered: 10/10/08
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 3, 2013 3:52 AM   in response to: Laura Warrin in response to: Laura Warrin
Hello,

We have checked. It connected with changes it last build of TeeChart for
XE5 (and you can face it in FastReport Embarcadero Edition only).

Solution - write to our support - we will send you updated files (we
will place them to EDN also)

01.10.2013 16:54, Laura Warrin wrote:
After installing XE5 I attempted to open a Fastreport generated in XE4. I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I would appreciate any help! THANKS!

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Laura Warrin

Posts: 8
Registered: 6/24/02
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 3, 2013 5:10 AM   in response to: Michael Philipp... in response to: Michael Philipp...
Thanks!!
The version I am using is whatever came with Delphi XE5 when I installed it.

Michael Philippenko wrote:
Hello,

We have checked. It connected with changes it last build of TeeChart for
XE5 (and you can face it in FastReport Embarcadero Edition only).

Solution - write to our support - we will send you updated files (we
will place them to EDN also)

01.10.2013 16:54, Laura Warrin wrote:
After installing XE5 I attempted to open a Fastreport generated in XE4. I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I would appreciate any help! THANKS!

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Auto Computers

Posts: 73
Registered: 7/8/05
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2013 6:45 AM   in response to: Laura Warrin in response to: Laura Warrin
Hi

I had the same problem and after trying many things. You can try this it
worked for me.

In Delphi goto Component>Install Packages and add dclfsTee18.bpl,
dclfrxTee18.bpl in IDE manually from
your fastreports lib folder.

Godfrey

<Laura Warrin> wrote in message news:619161 at forums dot embarcadero dot com...

Thanks!!
The version I am using is whatever came with Delphi XE5 when I installed
it.

Michael Philippenko wrote:
Hello,

We have checked. It connected with changes it last build of TeeChart for
XE5 (and you can face it in FastReport Embarcadero Edition only).

Solution - write to our support - we will send you updated files (we
will place them to EDN also)

01.10.2013 16:54, Laura Warrin wrote:
After installing XE5 I attempted to open a Fastreport generated in XE4.
I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed
dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place
on a report and edit the chart I get another errror: Control 'chart'
has no parent window.

I would appreciate any help! THANKS!

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Auto Computers

Posts: 73
Registered: 7/8/05
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2013 6:50 AM   in response to: Auto Computers in response to: Auto Computers
Sorry that was for XE4. Add dclfsTee19.bpl, dclfrxTee19.bpl for XE5

"Godfrey Fletcher" <gff at axxess dot co dot za> wrote in message
news:620084 at forums dot embarcadero dot com...

Hi

I had the same problem and after trying many things. You can try this it
worked for me.

In Delphi goto Component>Install Packages and add dclfsTee18.bpl,
dclfrxTee18.bpl in IDE manually from
your fastreports lib folder.

Godfrey

<Laura Warrin> wrote in message news:619161 at forums dot embarcadero dot com...

Thanks!!
The version I am using is whatever came with Delphi XE5 when I installed
it.

Michael Philippenko wrote:
Hello,

We have checked. It connected with changes it last build of TeeChart for
XE5 (and you can face it in FastReport Embarcadero Edition only).

Solution - write to our support - we will send you updated files (we
will place them to EDN also)

01.10.2013 16:54, Laura Warrin wrote:
After installing XE5 I attempted to open a Fastreport generated in
XE4. I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed
dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place
on a report and edit the chart I get another errror: Control 'chart'
has no parent window.

I would appreciate any help! THANKS!

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Laura Warrin

Posts: 8
Registered: 6/24/02
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2013 10:58 AM   in response to: Auto Computers in response to: Auto Computers
Charts still not working in Fastreport - Embarcadero version Delphi XE5
This is what I tried again today:

1) Did a fresh install of XE5. This installed Fastreport 4.13.2

2) did this, as per Den Zubov <den@fast-report.com>:

Download this archive fast-report.com/pbc_download/FR40.zip
Replace original files to files from this archive and recompile FRX chart packages.
(frxTee19, dclfrxTee19, fsTee19 and dclfstee19)

3) opened report
tried adding a chart. Got access violation (E087A2AA), then 'Control 'chart' has no parent window'


Godfrey Fletcher wrote:
Sorry that was for XE4. Add dclfsTee19.bpl, dclfrxTee19.bpl for XE5

"Godfrey Fletcher" <gff at axxess dot co dot za> wrote in message
news:620084 at forums dot embarcadero dot com...

Hi

I had the same problem and after trying many things. You can try this it
worked for me.

In Delphi goto Component>Install Packages and add dclfsTee18.bpl,
dclfrxTee18.bpl in IDE manually from
your fastreports lib folder.

Godfrey

<Laura Warrin> wrote in message news:619161 at forums dot embarcadero dot com...

Thanks!!
The version I am using is whatever came with Delphi XE5 when I installed
it.

Michael Philippenko wrote:
Hello,

We have checked. It connected with changes it last build of TeeChart for
XE5 (and you can face it in FastReport Embarcadero Edition only).

Solution - write to our support - we will send you updated files (we
will place them to EDN also)

01.10.2013 16:54, Laura Warrin wrote:
After installing XE5 I attempted to open a Fastreport generated in
XE4. I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed
dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place
on a report and edit the chart I get another errror: Control 'chart'
has no parent window.

I would appreciate any help! THANKS!

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Alex Alex

Posts: 2
Registered: 11/3/12
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 2, 2013 9:59 AM   in response to: Laura Warrin in response to: Laura Warrin
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I have the same error in Delphi 7, with the last versions of TeeChart and FastReport. None of the proposed did not help.
Michael Philipp...

Posts: 41
Registered: 10/10/08
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 3, 2013 12:33 AM   in response to: Alex Alex in response to: Alex Alex
Hello,

The latest version of TeeChart has set of changes.
Now we are making FastReport compatible with new version.

02.12.2013 21:59, Alex Alex wrote:
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I have the same error in Delphi 7, with the last versions of TeeChart and FastReport. None of the proposed did not help.

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Alex Alex

Posts: 2
Registered: 11/3/12
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 4, 2013 8:30 AM   in response to: Michael Philipp... in response to: Michael Philipp...
Thanks, I already got a response from Fastreport support:

"Recent versions of TeeChart require ancestor even have a form to render a metafile, which did not exist.

frxChart.pas open and get this code:

{$IFDEF DELPHI19}
FChart.ParentWindow := frxParentForm.Handle;
{$ENDIF}

remove ifdef block leaving only the code:
FChart.ParentWindow: = frxParentForm.Handle;

Save and rebuild the packages through recompile wizard."
Laura Warrin

Posts: 8
Registered: 6/24/02
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 4, 2013 11:33 AM   in response to: Alex Alex in response to: Alex Alex
Still not working for me.
FastReport Embarcadero Edition, Delphi XE5
David Berneda

Posts: 205
Registered: 5/5/98
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 10, 2013 5:04 AM   in response to: Alex Alex in response to: Alex Alex
Alex Alex wrote:

Thanks, I already got a response from Fastreport support:

"Recent versions of TeeChart require ancestor even have a form to
render a metafile, which did not exist.

frxChart.pas open and get this code:

{$IFDEF DELPHI19}
FChart.ParentWindow := frxParentForm.Handle;
{$ENDIF}

remove ifdef block leaving only the code:
FChart.ParentWindow: = frxParentForm.Handle;

Save and rebuild the packages through recompile wizard."

Sorry for this problem.
We're fixing this issue so next TeeChart update will not require Parent
ancestor to render.

regards
david
www.teechart.com
Cristiana Izumi

Posts: 1
Registered: 6/3/04
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 28, 2014 8:15 AM   in response to: David Berneda in response to: David Berneda
Hi! I´m trying to use the recompile wizard, but it´s still not working. I changed the unit, but when i use the recompile wizard (the new one that includes Rad studio XE5), I got the messages:

fs19.dpk compiled
fsDB19.dpk compiled
fsBDE19.dpk compiled
fsADO19.dpk compiled
fsIBX19.dpk compiled
delphi19 error: fsTee19.dpk(42) Fatal: E2202 Required package 'TEE919' not found
fsTee19.dpk not compiled!

Any hints?

Thx

Cris
Dmitry Anisimov

Posts: 6
Registered: 7/13/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 2, 2014 7:50 AM   in response to: David Berneda in response to: David Berneda
Is there a way to bypass this problem?

I'm trying to use IWChart in IW+Delphi XE,
and chart appears well,
till any event, e.g. IWButtonClick on the same IWForm as IWChart -
then i get "Control <IWForm> has no parent window"


David Berneda wrote:
Alex Alex wrote:

Thanks, I already got a response from Fastreport support:

"Recent versions of TeeChart require ancestor even have a form to
render a metafile, which did not exist.

frxChart.pas open and get this code:

{$IFDEF DELPHI19}
FChart.ParentWindow := frxParentForm.Handle;
{$ENDIF}

remove ifdef block leaving only the code:
FChart.ParentWindow: = frxParentForm.Handle;

Save and rebuild the packages through recompile wizard."

Sorry for this problem.
We're fixing this issue so next TeeChart update will not require Parent
ancestor to render.

regards
david
www.teechart.com
Laura Warrin

Posts: 8
Registered: 6/24/02
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 3, 2014 5:19 AM   in response to: Dmitry Anisimov in response to: Dmitry Anisimov
I was trying Charts in FastReport-XE5.
Got 'Control Chart has no parent window'
NEVER got a solution that worked.


Dmitry Anisimov wrote:
Is there a way to bypass this problem?

I'm trying to use IWChart in IW+Delphi XE,
and chart appears well,
till any event, e.g. IWButtonClick on the same IWForm as IWChart -
then i get "Control <IWForm> has no parent window"


David Berneda wrote:
Alex Alex wrote:

Thanks, I already got a response from Fastreport support:

"Recent versions of TeeChart require ancestor even have a form to
render a metafile, which did not exist.

frxChart.pas open and get this code:

{$IFDEF DELPHI19}
FChart.ParentWindow := frxParentForm.Handle;
{$ENDIF}

remove ifdef block leaving only the code:
FChart.ParentWindow: = frxParentForm.Handle;

Save and rebuild the packages through recompile wizard."

Sorry for this problem.
We're fixing this issue so next TeeChart update will not require Parent
ancestor to render.

regards
david
www.teechart.com
Dmitry Anisimov

Posts: 6
Registered: 7/13/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 4, 2014 8:37 PM   in response to: Laura Warrin in response to: Laura Warrin
I've found some "exit" - but i don't like this...
I re-create my IWForm in each event handler procedure -
it helps, i have no "has no parent window" error,
but it's quite not fine and really possible only if i have a few elements on my IWForm,
because i need to "hand-over" all actual parameters of all elements, e.g. ComboBox.Text, via variables, on each event.

Laura Warrin wrote:
I was trying Charts in FastReport-XE5.
Got 'Control Chart has no parent window'
NEVER got a solution that worked.


Dmitry Anisimov wrote:
Is there a way to bypass this problem?

I'm trying to use IWChart in IW+Delphi XE,
and chart appears well,
till any event, e.g. IWButtonClick on the same IWForm as IWChart -
then i get "Control <IWForm> has no parent window"


David Berneda wrote:
Alex Alex wrote:

Thanks, I already got a response from Fastreport support:

"Recent versions of TeeChart require ancestor even have a form to
render a metafile, which did not exist.

frxChart.pas open and get this code:

{$IFDEF DELPHI19}
FChart.ParentWindow := frxParentForm.Handle;
{$ENDIF}

remove ifdef block leaving only the code:
FChart.ParentWindow: = frxParentForm.Handle;

Save and rebuild the packages through recompile wizard."

Sorry for this problem.
We're fixing this issue so next TeeChart update will not require Parent
ancestor to render.

regards
david
www.teechart.com

Edited by: Dmitry Anisimov on Feb 4, 2014 8:44 PM
Dmitry Anisimov

Posts: 6
Registered: 7/13/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 28, 2014 11:29 AM   in response to: Laura Warrin in response to: Laura Warrin
Laura Warrin wrote:
I was trying Charts in FastReport-XE5.
Got 'Control Chart has no parent window'
NEVER got a solution that worked.


Dmitry Anisimov wrote:
Is there a way to bypass this problem?

I'm trying to use IWChart in IW+Delphi XE,
and chart appears well,
till any event, e.g. IWButtonClick on the same IWForm as IWChart -
then i get "Control <IWForm> has no parent window"


David Berneda wrote:
Alex Alex wrote:

Thanks, I already got a response from Fastreport support:

"Recent versions of TeeChart require ancestor even have a form to
render a metafile, which did not exist.

frxChart.pas open and get this code:

{$IFDEF DELPHI19}
FChart.ParentWindow := frxParentForm.Handle;
{$ENDIF}

remove ifdef block leaving only the code:
FChart.ParentWindow: = frxParentForm.Handle;

Save and rebuild the packages through recompile wizard."

Sorry for this problem.
We're fixing this issue so next TeeChart update will not require Parent
ancestor to render.

regards
david
www.teechart.com

try
https://forums.embarcadero.com/messageview.jspa?messageID=655800&stqc=true

- for me it works!

Edited by: Dmitry Anisimov on May 28, 2014 11:35 AM
Yeray Alonso

Posts: 75
Registered: 6/12/11
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 4, 2014 1:07 AM   in response to: Laura Warrin in response to: Laura Warrin
Dmitry Anisimov wrote:
Is there a way to bypass this problem?

I'm trying to use IWChart in IW+Delphi XE,
and chart appears well,
till any event, e.g. IWButtonClick on the same IWForm as IWChart -
then i get "Control <IWForm> has no parent window"

Laura Warrin wrote:
I was trying Charts in FastReport-XE5.
Got 'Control Chart has no parent window'
NEVER got a solution that worked.

Could you please try the update version David Berneda announced here?
https://forums.embarcadero.com//thread.jspa?threadID=99960
--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Dmitry Anisimov

Posts: 6
Registered: 7/13/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 4, 2014 8:43 PM   in response to: Yeray Alonso in response to: Yeray Alonso
unfortunately I use XE and need TeeChart Pro.

I've found some "exit" - but i don't like this...
I re-create my IWForm in each event handler procedure (see above).

Yeray Alonso wrote:
Dmitry Anisimov wrote:
Is there a way to bypass this problem?

I'm trying to use IWChart in IW+Delphi XE,
and chart appears well,
till any event, e.g. IWButtonClick on the same IWForm as IWChart -
then i get "Control <IWForm> has no parent window"

Laura Warrin wrote:
I was trying Charts in FastReport-XE5.
Got 'Control Chart has no parent window'
NEVER got a solution that worked.

Could you please try the update version David Berneda announced here?
https://forums.embarcadero.com//thread.jspa?threadID=99960
--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com

Edited by: Dmitry Anisimov on Feb 4, 2014 8:44 PM
Noel Alpins

Posts: 3
Registered: 12/28/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2014 10:12 PM   in response to: Yeray Alonso in response to: Yeray Alonso
I'm sorry to say, but this issue appears to still be there.

I'm using Delphi XE5 Update 2 and TeeChart Pro 2014, and attempting to display a graph within IntraWeb 14.0.22 by using the following code that /used/ to work:

class procedure TTeeChartOnIntraweb.DisplayTChartOnTIWImage(const aChart  : TChart;
                                                            const anImage : TIWImage);
var
  lMF     : TMetafile;
  lBitmap : TBitmap;
  lRect   : TRect;
begin
  // set the image dimensions of imgIWChart
  lBitmap        := anImage.Picture.Bitmap;
  lBitmap.Width  := aChart.Width;
  lBitmap.Height := aChart.Height;
  anImage.Width  := aChart.Width;
  anImage.Height := aChart.Height;
 
  // set the drawing rectangle for the TChart
  lRect.Left    := 0;
  lRect.Top     := 0;
  lRect.Right   := aChart.Width;
  lRect.Bottom  := aChart.Height;
 
  try
    // create an image metafile from the TChart
    lMF := aChart.TeeCreateMetafile(False, lRect);
 
    // draw the metafile into the bitmap
    lBitmap.Canvas.Draw(0, 0, lMF);
  finally
    FreeAndNil(lMF);
  end;
end;


The line with TeeCreateMetafile is crashing out (the second time through) with the following error:

"Project ***.exe raised exception class EInvalidOperation with message 'Control 'WebFrm***' has no parent window."
Yeray Alonso

Posts: 75
Registered: 6/12/11
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 28, 2014 3:00 AM   in response to: Noel Alpins in response to: Noel Alpins
Hi Noel,

Noel Alpins wrote:
I'm sorry to say, but this issue appears to still be there.

I'm using Delphi XE5 Update 2 and TeeChart Pro 2014, and attempting to display a graph within IntraWeb 14.0.22 by using the following code that /used/ to work:

The line with TeeCreateMetafile is crashing out (the second time through) with the following error:

"Project ***.exe raised exception class EInvalidOperation with message 'Control 'WebFrm***' has no parent window."

I've been able to prepare and install the packages for the same environment than you. Find them here.

I've also been able to run a simple example with just two TIWImage(s) in the TIWAppForm, creating a chart at runtime and using your code to draw the chart in both TIWImage(s). Found no exception with it. Feel free to download and check the example here.

Am I doing something different than you? Can you please arrange a simple example project we can run as-is to reproduce the problem here?

Thanks in advance.
--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Noel Alpins

Posts: 3
Registered: 12/28/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 2, 2014 3:03 PM   in response to: Yeray Alonso in response to: Yeray Alonso
Yeray,

I've sent you a failing minimal example by email.

Best regards,

James Ong
(on behalf of Noel Alpins)

Yeray Alonso

Posts: 75
Registered: 6/12/11
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 4, 2014 1:26 AM   in response to: Noel Alpins in response to: Noel Alpins
Hello James&Noel,

Noel Alpins wrote:
I've sent you a failing minimal example by email.

Thanks for the project. We could reproduce the problem with it and added a security check in the sources to avoid it to happen in future versions.

In the meanwhile, we can also suggest you a workaround, consisting on adding the following before the exportation:

  aChart.BufferedDisplay:=False;


Also, note you are exporting to metafile (TeeCreateMetafile) to draw it in a bitmap later. I see you have the direct exportation to bitmap commented out (TeeCreateBitmap). I'm not sure why you prefer the exportation to metafile to the bitmap, but I've checked the workaround works for both ways to go.

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Noel Alpins

Posts: 3
Registered: 12/28/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 4, 2014 6:46 PM   in response to: Yeray Alonso in response to: Yeray Alonso
Hi Yeray,

In the meanwhile, we can also suggest you a workaround, consisting on adding the following before the exportation:

  aChart.BufferedDisplay:=False;

Many thanks! This workaround works for us!

James
Dmitry Anisimov

Posts: 6
Registered: 7/13/13
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 28, 2014 11:27 AM   in response to: Noel Alpins in response to: Noel Alpins
Noel Alpins wrote:
Hi Yeray,

In the meanwhile, we can also suggest you a workaround, consisting on adding the following before the exportation:

  aChart.BufferedDisplay:=False;

Many thanks! This workaround works for us!

James

Hi Noel,

really great! -
after inserting BufferedDisplay := False; before tmp:=TeeCreateBitmap(Color,Rect(0,0,Width,Height)); in TIWChart.RenderHTML function of IWCompTeeChart unit,
IWChart.RenderHTML works fine,
before it was "... has no parent window" permanently !

so, great thank's for your workaround!
Guest
Re: XE5 - FastReport ChartObject Missing
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 9, 2014 10:43 PM   in response to: Laura Warrin in response to: Laura Warrin
Laura Warrin wrote:
After installing XE5 I attempted to open a Fastreport generated in XE4. I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I would appreciate any help! THANKS!

Facing the same problem here, any working solutions, yet?

C++ Builder XE5 Professional, Win 7 Home Premium 64Bit SP1 (I doubt OS has anything to do with this, but just put it in anyway).

Originally, after a fresh install of C++ Builder XE5, there is no TfrxChartObject in the FastReport 4.0 palette, manually added dclfrxTee19.bpl to the package and TfrxChartObject appeared, then went in to FastReport designer and try to add a chart, problems arise:

1) When adding chart, if I try to add a series, Access Violation at 0000000, read of address 000000

2) If canceled adding series, or just drop the chart without ever adding any series, Error: Control 'chart' has no parent window appears.

Fast Report's site doesn't even have any entries on FastReport 4.0. Nor do they have any updates for the Embarcadero Edition.

On Embarcadero's registered area, the Fast Report 4.0 available for download is exactly the same as the one installed with XE5. No updated version.

As for the editing frxChart.pas file, seems not applicable for the Embarcadero Edition. There's no entry with 'FChart.ParentWindow' in the whole file.

so, is there really any solution for this problem?

Thanks, if help is provided.

My report needs charts, badly!

Laura Warrin

Posts: 8
Registered: 6/24/02
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 10, 2014 5:23 AM   in response to: Guest in response to: Guest
I have not got any solution that works. Basicallly gave up for now. Very disappointing.
Also would like an update to the Embarcadero version, if there is one that will make the charts work.

KW Choy wrote:
Laura Warrin wrote:
After installing XE5 I attempted to open a Fastreport generated in XE4. I get the message 'frxChartView not found.

I did a build on frxTee19.dpk and fsTee19.dpk and then installed dclfrxTee19.dpk
This gave me the chart object on the pallette, but when I try to place on a report and edit the chart I get another errror: Control 'chart' has no parent window.

I would appreciate any help! THANKS!

Facing the same problem here, any working solutions, yet?

C++ Builder XE5 Professional, Win 7 Home Premium 64Bit SP1 (I doubt OS has anything to do with this, but just put it in anyway).

Originally, after a fresh install of C++ Builder XE5, there is no TfrxChartObject in the FastReport 4.0 palette, manually added dclfrxTee19.bpl to the package and TfrxChartObject appeared, then went in to FastReport designer and try to add a chart, problems arise:

1) When adding chart, if I try to add a series, Access Violation at 0000000, read of address 000000

2) If canceled adding series, or just drop the chart without ever adding any series, Error: Control 'chart' has no parent window appears.

Fast Report's site doesn't even have any entries on FastReport 4.0. Nor do they have any updates for the Embarcadero Edition.

On Embarcadero's registered area, the Fast Report 4.0 available for download is exactly the same as the one installed with XE5. No updated version.

As for the editing frxChart.pas file, seems not applicable for the Embarcadero Edition. There's no entry with 'FChart.ParentWindow' in the whole file.

so, is there really any solution for this problem?

Thanks, if help is provided.

My report needs charts, badly!

Yeray Alonso

Posts: 75
Registered: 6/12/11
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 11, 2014 12:44 AM   in response to: Guest in response to: Guest
Hello KW Choy,

KW Choy wrote:
1) When adding chart, if I try to add a series, Access Violation at 0000000, read of address 000000

Does this happen when adding a TChart into an empty form in a new application? I mean without any FastReport.
I TeeChart works fine alone, it would probably indicate there's a problem with the integration of TeeChart into FastReport.

KW Choy wrote:
2) If canceled adding series, or just drop the chart without ever adding any series, Error: Control 'chart' has no parent window appears.

The "no parent window" error was suposed to be fixed with the TeeChart update for XE5 customers announced here, as mentioned some posts above. Do you have this update installed?

Fast Report's site doesn't even have any entries on FastReport 4.0. Nor do they have any updates for the Embarcadero Edition.

On Embarcadero's registered area, the Fast Report 4.0 available for download is exactly the same as the one installed with XE5. No updated version.

I'm not sure if they have some public patch on their side. Maybe you should try to contact them directly if they don't see/reply you here.

==============

Hello Laura,

Laura Warrin wrote:
I have not got any solution that works. Basicallly gave up for now. Very disappointing.
Also would like an update to the Embarcadero version, if there is one that will make the charts work.

Have you tried the version the TeeChart update for XE5 customers announced here, as mentioned some posts above replying your last post in this thread?

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Guest
Re: XE5 - FastReport ChartObject Missing
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 14, 2014 11:16 PM   in response to: Yeray Alonso in response to: Yeray Alonso
Yeray Alonso wrote:
Hello KW Choy,

Does this happen when adding a TChart into an empty form in a new application? I mean without any FastReport.
I TeeChart works fine alone, it would probably indicate there's a problem with the integration of TeeChart into FastReport.

(First off, sorry for the late reply here, notebook's harddisk went bad and was unable to browse web till I changed the HDD and re-install everything.)

This happens when I try to add a chart to the Fast Report Designer (I have a form in C++ Builder, added a frxReport and frxChartObject, double click on the Fast Report component to activate the designer, and adding the chart to the report).

For just adding the chart to the VCL Form, the Teechart is working fine.

The "no parent window" error was suposed to be fixed with the TeeChart update for XE5 customers announced here, as mentioned some posts above. Do you have this update installed?

I tried this, it's not working for me.

Downloaded the file, installed it, it asked to remove the old version during installation, and I permitted the installer to do so. After installation, started up C++ Builder XE5 Update 2 (completely updated to the latest state).

There is a palette named TeecChart Std. Adding a chart to the VCL Form raised no problem, I can do whatever am supposed to do to produce a chart. But I want chart in my Fast Report (actually, it's my customers wanted it).

So I try to add chart via the frxChartObject to a Fast Report like the user manual (Fast Report's) instructed. However, everybody knows, there are no frxChartObject in Fast Report 4.0 palette in it's originally installed state. According to what I found on FR's forum, I'll need to add the dclfrxTee19.bpl manually to the Project's Packages.

When I try to add this package, this happened:

http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror1.png
http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror2.png

so, any advice on how to get the chart working in Fast Report (other than telling me to buy the FR VCL 5, I worked in a small company and buying C++ Builder XE5 has already putting quite some pressure on the company's financial).

I thought even if they are just giving a "FREE" version, that doesn't mean they could give me a non-working buggy product, right?

(Actually I've view the inclusion of Fast Report 4.0 in C++ Builder XE5 as already been paid for as a part of the cost of the purchase, and FR is one of the key reason why I'd choose to purchase CPPB XE5, since I have older projects that uses Quick Report -- they works quite similarly)


Fast Report's site doesn't even have any entries on FastReport 4.0. Nor do they have any updates for the Embarcadero Edition.

On Embarcadero's registered area, the Fast Report 4.0 available for download is exactly the same as the one installed with XE5. No updated version.

I'm not sure if they have some public patch on their side. Maybe you should try to contact them directly if they don't see/reply you here.

==============

Hello Laura,

Laura Warrin wrote:
I have not got any solution that works. Basicallly gave up for now. Very disappointing.
Also would like an update to the Embarcadero version, if there is one that will make the charts work.

Have you tried the version the TeeChart update for XE5 customers announced here, as mentioned some posts above replying your last post in this thread?

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Yeray Alonso

Posts: 75
Registered: 6/12/11
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2014 3:19 AM   in response to: Guest in response to: Guest
Hello KW Choy,

KW Choy wrote:
This happens when I try to add a chart to the Fast Report Designer (I have a form in C++ Builder, added a frxReport and frxChartObject, double click on the Fast Report component to activate the designer, and adding the chart to the report).

For just adding the chart to the VCL Form, the Teechart is working fine.

As said above, if TeeChart works alone, this looks as a problem with the integration of TeeChart into Fast Report. Since they are who support this integration I'd suggest you to contact them to see if they have a solution for this.

KW Choy wrote:
I tried this, it's not working for me.

Downloaded the file, installed it, it asked to remove the old version during installation, and I permitted the installer to do so. After installation, started up C++ Builder XE5 Update 2 (completely updated to the latest state).

There is a palette named TeecChart Std. Adding a chart to the VCL Form raised no problem, I can do whatever am supposed to do to produce a chart. But I want chart in my Fast Report (actually, it's my customers wanted it).

So I try to add chart via the frxChartObject to a Fast Report like the user manual (Fast Report's) instructed. However, everybody knows, there are no frxChartObject in Fast Report 4.0 palette in it's originally installed state. According to what I found on FR's forum, I'll need to add the dclfrxTee19.bpl manually to the Project's Packages.

When I try to add this package, this happened:

http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror1.png
http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror2.png

I understand you correctly installed the updated Standard/Lite version of TeeChart for XE5.
However, you get these errors when you try to add the dclfrxTee19.bpl package. Have you rebuilt it? I guess this package includes references to the TeeChart Standard/Lite shipped with the IDE. Since these packages have been modified by the TeeChart Standard/Lite update, any package referencing them should be rebuilt to correctly use the loaded packages.
I guess you should do something like this, but I'd suggest you to contact Fast Reports people to get instructions about how to rebuild the integration of TeeChart into their components.

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Laura Warrin

Posts: 8
Registered: 6/24/02
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2014 11:55 AM   in response to: Guest in response to: Guest
I got the same errors you show in your screenshots.
Please let me know if you ever find an update to FastReport - Embarcadero version.

Thanks!

KW Choy wrote:
Yeray Alonso wrote:
Hello KW Choy,

Does this happen when adding a TChart into an empty form in a new application? I mean without any FastReport.
I TeeChart works fine alone, it would probably indicate there's a problem with the integration of TeeChart into FastReport.

(First off, sorry for the late reply here, notebook's harddisk went bad and was unable to browse web till I changed the HDD and re-install everything.)

This happens when I try to add a chart to the Fast Report Designer (I have a form in C++ Builder, added a frxReport and frxChartObject, double click on the Fast Report component to activate the designer, and adding the chart to the report).

For just adding the chart to the VCL Form, the Teechart is working fine.

The "no parent window" error was suposed to be fixed with the TeeChart update for XE5 customers announced here, as mentioned some posts above. Do you have this update installed?

I tried this, it's not working for me.

Downloaded the file, installed it, it asked to remove the old version during installation, and I permitted the installer to do so. After installation, started up C++ Builder XE5 Update 2 (completely updated to the latest state).

There is a palette named TeecChart Std. Adding a chart to the VCL Form raised no problem, I can do whatever am supposed to do to produce a chart. But I want chart in my Fast Report (actually, it's my customers wanted it).

So I try to add chart via the frxChartObject to a Fast Report like the user manual (Fast Report's) instructed. However, everybody knows, there are no frxChartObject in Fast Report 4.0 palette in it's originally installed state. According to what I found on FR's forum, I'll need to add the dclfrxTee19.bpl manually to the Project's Packages.

When I try to add this package, this happened:

http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror1.png
http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror2.png

so, any advice on how to get the chart working in Fast Report (other than telling me to buy the FR VCL 5, I worked in a small company and buying C++ Builder XE5 has already putting quite some pressure on the company's financial).

I thought even if they are just giving a "FREE" version, that doesn't mean they could give me a non-working buggy product, right?

(Actually I've view the inclusion of Fast Report 4.0 in C++ Builder XE5 as already been paid for as a part of the cost of the purchase, and FR is one of the key reason why I'd choose to purchase CPPB XE5, since I have older projects that uses Quick Report -- they works quite similarly)


Fast Report's site doesn't even have any entries on FastReport 4.0. Nor do they have any updates for the Embarcadero Edition.

On Embarcadero's registered area, the Fast Report 4.0 available for download is exactly the same as the one installed with XE5. No updated version.

I'm not sure if they have some public patch on their side. Maybe you should try to contact them directly if they don't see/reply you here.

==============

Hello Laura,

Laura Warrin wrote:
I have not got any solution that works. Basicallly gave up for now. Very disappointing.
Also would like an update to the Embarcadero version, if there is one that will make the charts work.

Have you tried the version the TeeChart update for XE5 customers announced here, as mentioned some posts above replying your last post in this thread?

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com
Michael Philipp...

Posts: 41
Registered: 10/10/08
Re: XE5 - FastReport ChartObject Missing  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2014 11:30 PM   in response to: Guest in response to: Guest
Hello,

Does your version of C++ Builder have dcc32.exe?

It is necessary for recompile for your TeeChart build.

15.04.2014 10:16, KW Choy wrote:
Yeray Alonso wrote:
Hello KW Choy,

Does this happen when adding a TChart into an empty form in a new application? I mean without any FastReport.
I TeeChart works fine alone, it would probably indicate there's a problem with the integration of TeeChart into FastReport.

(First off, sorry for the late reply here, notebook's harddisk went bad and was unable to browse web till I changed the HDD and re-install everything.)

This happens when I try to add a chart to the Fast Report Designer (I have a form in C++ Builder, added a frxReport and frxChartObject, double click on the Fast Report component to activate the designer, and adding the chart to the report).

For just adding the chart to the VCL Form, the Teechart is working fine.

The "no parent window" error was suposed to be fixed with the TeeChart update for XE5 customers announced here, as mentioned some posts above. Do you have this update installed?

I tried this, it's not working for me.

Downloaded the file, installed it, it asked to remove the old version during installation, and I permitted the installer to do so. After installation, started up C++ Builder XE5 Update 2 (completely updated to the latest state).

There is a palette named TeecChart Std. Adding a chart to the VCL Form raised no problem, I can do whatever am supposed to do to produce a chart. But I want chart in my Fast Report (actually, it's my customers wanted it).

So I try to add chart via the frxChartObject to a Fast Report like the user manual (Fast Report's) instructed. However, everybody knows, there are no frxChartObject in Fast Report 4.0 palette in it's originally installed state. According to what I found on FR's forum, I'll need to add the dclfrxTee19.bpl manually to the Project's Packages.

When I try to add this package, this happened:

http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror1.png
http://i7.photobucket.com/albums/y280/BlueStinger/teecharterror2.png

so, any advice on how to get the chart working in Fast Report (other than telling me to buy the FR VCL 5, I worked in a small company and buying C++ Builder XE5 has already putting quite some pressure on the company's financial).

I thought even if they are just giving a "FREE" version, that doesn't mean they could give me a non-working buggy product, right?

(Actually I've view the inclusion of Fast Report 4.0 in C++ Builder XE5 as already been paid for as a part of the cost of the purchase, and FR is one of the key reason why I'd choose to purchase CPPB XE5, since I have older projects that uses Quick Report -- they works quite similarly)


Fast Report's site doesn't even have any entries on FastReport 4.0. Nor do they have any updates for the Embarcadero Edition.

On Embarcadero's registered area, the Fast Report 4.0 available for download is exactly the same as the one installed with XE5. No updated version.

I'm not sure if they have some public patch on their side. Maybe you should try to contact them directly if they don't see/reply you here.

==============

Hello Laura,

Laura Warrin wrote:
I have not got any solution that works. Basicallly gave up for now. Very disappointing.
Also would like an update to the Embarcadero version, if there is one that will make the charts work.

Have you tried the version the TeeChart update for XE5 customers announced here, as mentioned some posts above replying your last post in this thread?

--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in Twitter and Facebook

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com

--
Best regards,
Michael Philippenko mailto:michael@fast-report.com
Fast Reports - reporting must be Fast!!
http://www.fast-report.com
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02