TChartPreviewer

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jpm
Newbie
Newbie
Posts: 8
Joined: Fri Dec 17, 2010 12:00 am

TChartPreviewer

Post by jpm » Mon Dec 27, 2010 1:04 pm

I am Using the component 'TChartPreviewer' to print the TCharts.
I would like to Pre-set some field to some defaults ( for example to check ON the option 'smooth') and if possible to hide or at least lock some fields once the caller will have force the settings to the required ones. The goal is to let the minimum interface, in fact the minimum the SW user will really need.

How can I process?

Thank-you for your answers.

Yeray
Site Admin
Site Admin
Posts: 8719
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChartPreviewer

Post by Yeray » Wed Dec 29, 2010 12:09 pm

Hi jpm,

I recommend you to create you custom Previewer. You can simply create a new form, add a TTeePreviewPanel to the form and the checkboxes you want the user to have access.

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
begin
  with Form2.TeePreviewPanel1 do
  begin
    Panel:=Chart1;
    Orientation:=ppoLandscape;
    AsBitmap:=true;
  end;
  Form2.Show;
end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply