Lazarus

Free Pascal => General => Topic started by: Nicole on July 16, 2022, 05:31:33 pm

Title: [solved] How to initialize TFontParams?
Post by: Nicole on July 16, 2022, 05:31:33 pm
...
Var MFontP: TFontParams;

begin
...

The compiler says, I shall initialize. But how?
MFontP:= ...............??
Title: Re: How to initialize TFontParams?
Post by: wp on July 16, 2022, 06:12:21 pm
Code: Pascal  [Select][+][-]
  1. var
  2.   MFontP: TFontParams;
  3. ...
  4.   MFontP := Default(TFontParams);
Title: Re: How to initialize TFontParams?
Post by: Nicole on July 16, 2022, 06:38:13 pm
thank you!
TinyPortal © 2005-2018