Hi,
I want to modify the font size of a TRectangleTool but I discovered that several values are not taken into account : 6, 7, 9, 11, ....
Why this limitation on the font size ?
How can I know the font size allowed ?
Thanks
Franck
Font size of TRectangleTool
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Franck,
All values are considered, just try adding a TChart with a TRectangleTool and two buttons on a form an run:
All values are considered, just try adding a TChart with a TRectangleTool and two buttons on a form an run:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
ChartTool1.Shape.Font.Size:=6;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
ChartTool1.Shape.Font.Size:=ChartTool1.Shape.Font.Size+1;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
ChartTool1.Shape.Font.Size:=ChartTool1.Shape.Font.Size-1;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi,
this depends on the Fonts you have installed on your system.
this depends on the Fonts you have installed on your system.
Pep Jorge
http://support.steema.com
http://support.steema.com