On Wed, 2011-11-02 at 00:47 -0400, Kevin Fishburne wrote:

> I'm looking through the docs trying to find out how to change the active 
> font but am not having much luck. Anyone know how to do it? I can change 
> the size and color, but not the font being used.
> 

The active font of a what?

To set the font via code for a text control in a form use the following
as examples

    MyControl.Font = Font["Bitstream Vera Serif,Bold,10"]
or even 
    MyControl.Font=Font["Monospace,Bold,Italic,Underline,Strikeout,+4"]


Bruce

------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to