At 08:17 PM 3/24/2004, you wrote:
I 've searched the reference pdf, but could not find which api to help
coloring a text field ? I must overlook it.

No, you didn't overlook this. There are no APIs in Palm OS to vary the color of individual text fields.


The Palm OS drawing code uses the colors set in the UI Color Table for the device. You can change this table yourself, but it applies to all controls in your app.

This is an artifact of how color was added to Palm OS in OS 3.5. Palm added added a system-wide color preference, rather than adding individual color fields to the various in-memory control and form structures.


-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to