----- Original Message ----- From: "Baxter" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 10:08 AM Subject: Re: coloring the text fields
> Yep. > 1. set up a RGBColorType variable with the color you want (use > UIGetColorTableRGB(UIFieldText, ..) and save for changing back.) > 2. Set up your table to do Custom Draw (TblSetCustomDrawProcedure(...)). > 3. In your draw procedure, you'll want to use > UIColorSetTableEntry(UIFieldText, ...) and > WinSetTextColor(UIColorGetTableEntryIndex(UIFieldText)); > 4. Then draw your text > 5. set the color back to the old color. > Hi Baxter, thanks for your reply. My form uses normal text fields, not table, but I will remember your note when I use tables. Vu -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
