Page 1 of 1

changing font size and color

PostPosted: September 26th, 2006, 12:23 pm
by nagraj@codeplex
I need to know how to change to font size and the color, using phalanger.
I even wanted to know how to get a menuitems, when you click the object.

RE: changing font size and color

PostPosted: September 27th, 2006, 8:43 am
by nagraj@codeplex
To change to font size we can dirtectly call font().

It works fine. But I am not still able to change the fonts color.

RE: changing font size and color

PostPosted: September 27th, 2006, 1:08 pm
by Lada Prosek
Color is determined by the component that uses the font to draw some text, not by the font itself. E.g. Button uses its ForeColor property for this.