IonicWind Software

Aurora Compiler => Coding Help - Aurora 101 => Topic started by: John Syl. on November 09, 2006, 12:53:19 PM

Title: CTButton colour
Post by: John Syl. on November 09, 2006, 12:53:19 PM
I can change a button to any colour, but is there a way of finding what colour the button is before I change it?

John
Title: Re: CTButton colour
Post by: Ionic Wind Support Team on November 09, 2006, 12:56:51 PM
Yes.  Use the GetFGColor and GetBGColor methods.

CButton, and all of the controls, are derived from CControl.  See in the docs Library Reference->Classes->CControl->Methods.

Title: Re: CTButton colour
Post by: John Syl. on November 09, 2006, 01:01:29 PM
Thanks paul, I'v been  searching for ages  :-[ so obvious when you ask!