Is there a way to use Delphi's fontdialog component to allow a user to select font properties at run time for titles etc.? That component returns a TFont but TeeChart uses TTeeFont. I could copy the individual parts, color, size, pitch, etc. from one to the other but that is somewhat inelegant. I was hoping that there would be a TeeChart equivalent to the standard fontdialog component.
Jim
Delphi fontdialog compatiblity?
Re: Delphi fontdialog compatiblity?
Hi Jim,
EditTeeFont uses a TFontDialog. Here a simple example:
EditTeeFont uses a TFontDialog. Here a simple example:
Code: Select all
uses TeeBrushDlg;
procedure TForm1.Button1Click(Sender: TObject);
begin
EditTeeFont(Self,Chart1.Title.Font);
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Delphi fontdialog compatiblity?
Wonderful!