Dave Johnson wrote in message <16587@palm-dev-forum>...
>
>I need to set the font of several controls, labels, etc. at runtime (I'm
>using a custom font that has some mathematical characters in it: pi,
>theta, etc.). Right now I'm just setting it directly:
>
>aControlPointer->font = kMathFontID;
>
>and that seems to work fine on all the current OS's. But it makes me
>nervous: the docs specifically say not to directly set the fields of
>structures like this. How else can I do it? (Preferably in a fashion that
>won't break in the future: this is a commercial app.)
>

There is a 'FldSetFont()' for fields, but for controls there is nothing.
You're stuck manipulating the structures because they haven't provided
a complete API to the other form objects...


--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!




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

Reply via email to