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

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to