Page 1 of 1

TChartPreviewer

Posted: Mon Dec 27, 2010 1:04 pm
by 16458162
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.

Re: TChartPreviewer

Posted: Wed Dec 29, 2010 12:09 pm
by yeray
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;