In a post frmOpenEvent, frmUpdateEvent etc. you do the standard get the current color, set the desired color, draw the control then restore the previous color should work fine.
I've been complaining for some time now that Palm's development resources haven't been used to address the significant short falls in their control UI, especially since adding color. Their dynamic controls fell short as well. There is still no UI for dynamically creating a scrollbar that I know of not to mention the form pointer changing after adding. The field should have been much improved by having a key filter call back. To get nice behaviors in our apps we have to work around issues that Palm should have addressed three or more years ago. You would think the UI guidelines would have changed when they finally added decent color capability to the devices. NOT using gray for disabled controls is counter intuitive, if the capability is there. I'm glad were out of the Black and White closet. Jim Morris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Cooper Sent: Friday, January 06, 2006 10:26 AM To: Palm Developer Forum Subject: Re: grey out for controls in palm > Being a free spirit, try UIColorGetTableEntryRGB and UIColorSetTableEntryRGB > in a post event handler. But that'll set all controls, not just one, yes? Cheers, Jim Cooper __________________________________________ Jim Cooper [EMAIL PROTECTED] Skype : jim.cooper Tabdee Ltd http://www.tabdee.ltd.uk TurboSync - Connecting Delphi to your Palm __________________________________________ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
