09-24-2019, 11:02 AM
(This post was last modified: 09-24-2019, 11:44 AM by Alexandre Machado.)
I don't know where the information came from.... Property Font is a public property for TIWCustomControl class.
All you need to do is:
if (Self.Components[i] is TIWCustomControl) then
TIWCustomControl(Self.Components[i]).Font.Assign(YourFontHere);
or
if (Self.Components[i] is TIWCustomControl) then
TIWCustomControl(Self.Components[i]).Font.FontFamily := 'Verdana, Helvetica, Sans-Serif';
All you need to do is:
if (Self.Components[i] is TIWCustomControl) then
TIWCustomControl(Self.Components[i]).Font.Assign(YourFontHere);
or
if (Self.Components[i] is TIWCustomControl) then
TIWCustomControl(Self.Components[i]).Font.FontFamily := 'Verdana, Helvetica, Sans-Serif';

