If you don't need input from an edit box, draw the text yourself.  You'll
have to keep track of where to draw the words within your string bur you
would be able to change the font whenever you needed.

----- Original Message -----
From: "Mike" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 10:54 AM
Subject: Formatted text in a dialog


>
> Hi everyone
>
> I'm writing an app that needs to present a dialog with a string of text,
> bits of which are bold, italic or plain depending which fields from the
> database they come from.
>
> I'm unsure how to go about it - can I use a generic field at all or do I
> need to do strange and interesting things with setfont and drawstring on
> a window?
>
> If anyone could point me in the right direction, or maybe has a utility
> function to share, I'd be very grateful.
>
> Thanks,
> Mike van der Merwe
>
> --
>
> There are two kinds of fool. One says, "This is old, and therefore good."
> And one says, "This is new, and therefore better"
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



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