This is probably such a newbie question but I can't figure it out and cannot find an explicit example anywhere which answers the question.
I've started using Flexcel and have successfully created my first Excel files from a Delphi app.
Now I want to try and be a little more clever but I'm getting stumped at my first attempt.
I simply want the content of some cells to be in bold text.
I've followed the tutorials.
I've got the format record:-
Fmt:=Xls.GetDefaultFormat;
I can change a cell's colour:-
Fmt.Font.Color:=clBlue;
I can set the font's size:-
Fmt.Font.Size20:=280;
//my understanding would be a 14pt font size
And following all I have seen I would set a font's style like this:-
Fmt.Font.Style:=TFlxFontStyles.Bold;
BUT this is causing a problem. I can't see what I'm doing wrong and can't figure it out from the help or the examples provided with FlexCel. I've spent all yesterday trying to see if the topic is listed here and trying to find it in the source. Do I need to declare anything else other than VCL.FlexCel.Core and FlexCel.XlsAdapter in my uses clause?
Thank you .