ControlType* controlPtr;
FormType* currentForm;

controlPtr = FrmGetObjectPtr(currentForm, FrmGetObjectIndex(currentForm,
MyButtonID));
controlPtr->font = boldFont;

You then need to redraw the control.

Enjoy.

Regards,

Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
Australia
"S Santoso" <[EMAIL PROTECTED]> wrote in message
news:41287@palm-dev-forum...
>
> Hi,
>
> How do you change a font (regular) to a bold font in a button object?  I
> have a button with a regular text font in it, then when I tap the button,
I
> want to be able to change the text to bold font text.  Is it possible to
do
> such operation?
> Any help is appreciated.
> S Santoso
>
>
>
>



-- 
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