Hmmm, didn't work.

fontID = FrmGlueGetLabelFont(frm,labelID);  // Returns boldFont
FrmGlueSetLabelFont(frm,labelID,largeFont); // Try to set a new font
fontID = FrmGlueGetLabelFont(frm,labelID); // Returns stdFont

FrmGlueSetLabelFont seems to always set to stdFont no matter what is passed
in and no matter what the previous values was.
I don't get it!!!

"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:109814@palm-dev-forum...
>
> At 09:12 2003-1-20 -0600, you wrote:
> >I would like to change the font on a label when the user changes his font
> >preferences in my app. I figured there would be a CtlSetFont() but can't
> >find anything like that. Am I missing something obvious?
>
> There is a CtlGlueSetFont in the PalmOSGlue library in the SDK 5.
However,
> for labels, you would instead use the glue function FrmGlueSetLabelFont.
>
> --
> Ben Combee <[EMAIL PROTECTED]>
> CodeWarrior for Palm OS technical lead
> Palm OS programming help @ www.palmoswerks.com
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to