Thanks!  That's helpful.
How about fields?  If I have two fields on one form, how can I make one field's 
background as red and
the other as blue?

Thanks,
Tina

ThuNguyet Nguyen wrote:

> Hi Tina,
>
> >Can I put two labels on one form -- one label text is red, and the other
> >
> To draw a color text, I use the Win...() functions. I am sure there must be other 
>way to do it.
> This is what I did:
> Save the draw state
> Save the font (if you want to change the font)
> Set your font
> Set the text color that you want
> (Erase the erea)
> draw the text
> Restore the font
> Restore the draw state
>
> >How about buttons?
> >
> If 2 buttons are different (in position), I use graphic buttons or buttons with 
>bitmap for PalmOS
> before 3.? (not support graphic button).
>
> I guess you are asking in the case 2 buttons are in the same position:
> I do either 1 or 2 depending on my program.
>
> 1. I have 2 graphic buttons, I show or hide them whenever I need to.
>
> 2. I have 1 button with no frame, no text and 2 bitmaps (2 bitmap families), I show 
>and hide the
> bitmaps when I need to.
>                                    1
> I have to use 2. for PalmOS that not supporting graphic button.
>
> Hope that helps.
>
> tnn
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.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