Print Preview TChart and TMemo

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Misti
Newbie
Newbie
Posts: 3
Joined: Wed Jul 21, 2004 4:00 am

Print Preview TChart and TMemo

Post by Misti » Tue Sep 21, 2004 6:45 pm

I would like to have a print preview for the following:
- the top half of the page has a TChart
- the bottom half has a TMemo

I can place both objects on a TPanel(Panel1), but ChartPreview( Self, Panel1) will not work because Panel1 is not a TCustomTeePanel. If I try to use a TCustomTeePanel and place both objects (Chart and Memo) on it, using Panels.Add, it also blows up (because TMemo is not an acceptable component?).

I can add a 2nd chart instead of the TMemo without any problem.

Is there any way to preview a page that has a combination of a TChart and a TMemo?

Post Reply