changing font size and color

Discussion about the open-source Phalanger [?] project.

changing font size and color

Postby nagraj@codeplex » September 26th, 2006, 12:23 pm

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.
nagraj@codeplex
 
Posts: 24
Joined: January 7th, 2012, 8:55 pm

RE: changing font size and color

Postby nagraj@codeplex » September 27th, 2006, 8:43 am

To change to font size we can dirtectly call font().

It works fine. But I am not still able to change the fonts color.
nagraj@codeplex
 
Posts: 24
Joined: January 7th, 2012, 8:55 pm

RE: changing font size and color

Postby Lada Prosek » September 27th, 2006, 1:08 pm

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.
Lada Prosek
 
Posts: 47
Joined: January 7th, 2012, 8:52 pm


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 16 guests

cron

User Control Panel

Login

Who is online

In total there are 16 users online :: 0 registered, 0 hidden and 16 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 16 guests