You can actually by using gadgets.

But if you are too lazy for that, you can (as Joe suggested)
use FntSetFont + WinDrawChars

If you don't want to hard-code x and y, here is the trick:

You declare a label in your form with an empty text, which
is a placehold for your actual text. In your code you
call FrmGetObjectBounds to get x and y and pass those
to WinDrawChars.


M.



-----Original Message-----
From: Joe Programmer [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 November 2001 9:38 AM
To: Palm Developer Forum
Subject: Re: textbox?..


--- Denis Roshchin wrote:
> 1. i need some text-box (non-editable), where 
> i can use different fonts (bold, standart etc)
> Just label-field can't do this, as I understood.

Do you mean that you want to use more than one font at
the same time in a single field?  If so, there is
nothing in the OS that does this.  You'll have to use
WinDrawChars() and change fonts as needed.


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