Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
component property check ?
#4
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';
Reply


Messages In This Thread
component property check ? - by SorenJensen - 09-18-2019, 06:01 AM
RE: component property check ? - by kudzu - 09-18-2019, 02:08 PM
RE: component property check ? - by SorenJensen - 09-18-2019, 03:20 PM
RE: component property check ? - by Alexandre Machado - 09-24-2019, 11:02 AM
RE: component property check ? - by kudzu - 09-24-2019, 02:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)