[DUG] Font style syntax...

John Bird johnkbird at paradise.net.nz
Sun Oct 16 17:16:56 NZDT 2005


A little thing I got stumped on...

For a component I want to save the current font style, but I can't figure
the syntax cos it's a set....

	SaveStyle:=component.font.style;

	(do my stuff)

	Component.font.style:=SaveStyle;

1 - What is the correct syntax?
2 - what do I declare SaveStyle as?

Doing a Google on Delphi Save Set  or Delphi Save Style turns up screeds of
other senses of those words so it didn't help

John



More information about the Delphi mailing list