[futurebasic] Re: [FB] _useWFont in Appearance Runtime

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2004 : Group Archive : Group : All Groups

From: Paul Bruneau <paul_bruneau@...>
Date: Mon, 29 Mar 2004 16:42:48 -0500
On Monday, March 29, 2004, at 04:36 PM, Brian Stevens wrote:

> Paul,
>
> The others have given you a lot of good hints and code but I'd like to 
> mention just one thing. The _useWFont doesn't produce small text but 
> uses the window's font,size,style. So, if the window is using a large 
> font size, your button title will now have a large font size. That 
> might not be what you want. My own experience is APPEARANCE BUTTON is 
> the best approach. I've used _useWFont in the past but now I don't use 
> it.  I use _kControlFontSmallSystemFont  to set the 
> ControlFontStyleRec but it is possible to use any font. If you find 
> something is not working it is often a flag that has not been included 
> in the ControlFontStyleRec flags field.

Thanks, Brian-

_useWFont has always worked well for me using Standard BASIC and I use 
it a ton so I was looking for a relatively simple replacement for it. 
So far Robert Purves wins the award by offering a way for me to use 
Appearance Button, but still have the simplicity of _useWFont, so I 
will probably head in that direction for now. Once I know what the heck 
Appearance is (it's starting to soak in) I will probably go all out and 
use all those dozens of konstants that it allows.

PB