Print Preview TChart and TMemo
Posted: 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?
- 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?