Jump to content
Software FX Community

Re: How to Assign a Font to a Constant Line ???


User (Legacy)

Recommended Posts

Hi Frank,

Okay, that works fine except for the fontcolor property.

I work with Delphi so the syntax looks a little dfferent:

ChartFX1.FixedFont.Name := FontDialog1.Font.Name;

ChartFX1.FixedFont.Size := FontDialog1.Font.Size;

ChartFX1.FixedFont.Style := FontDialog1.Font.Size;

ChartFX1.FixedFont.Color := FontDialog1.Font.Color;

Everything: Name, Size, Style (bold,italic,underline) are passed through the chart

except the fontcolor.

Any ideas ?

Regards,

Maurice Wasbauer

Francisco Padron < frankp@softwarefx.com> wrote in message news:DE0379D14694D211B4CE00609770710D055942@sftfx-221.wamnet.net...

> You can use the FixedFont property for this. For example:

>

> CommonDialog1.Flags = cdlCFBoth

> CommonDialog1.ShowFont

> ChartFX1.FixedFont.Name = CommonDialog1.FontName

> ChartFX1.FixedFont.Size = CommonDialog1.FontSize

> ChartFX1.FixedFont.Bold = CommonDialog1.FontBold

> ....

>

> --

> Frank

> SFX

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...