Thanks.  I'll give it try and let you know what I find.

Have a great day.

Kevin P. Aretha


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Micky
Menezes
Sent: Monday, February 03, 2003 9:46 PM
To: Palm Developer Forum
Subject: Re: Changing the background color of an editable field

HI 
I have not tried this as yet.
but u can check the UIColor.h file.

Function to do this is
Err UIColorSetTableEntry(UIColorTableEntries which,
const RGBColorType *rgbP)

for variable which you can pass
UIObjectSelectedFill,
UIObjectSelectedForeground,

if you set this in your form load routine 
then i fear that each and every object on the that
form will have the same Color property.

so try to do it on FldChangeEvent or FldEnterEvent.

i will also try to do it.
Lets hope for the best.

--- Markus Dresch <[EMAIL PROTECTED]> wrote:
> > "Kevin Aretha" <[EMAIL PROTECTED]> schrieb im
> Newsbeitrag
> news:111673@palm-dev-forum...
> > I am trying to come up with a way to change the
> background color of an
> > editable field when it has focus. The purpose
> being to make it more
> > obvious which field on the screen actually has
> focus. Is it possible to
> > do this, and if so how would I go about it?
> 
> you can change the background color of ALL
> textfields or NONE...
> the active field has a blinking cursor. most palm
> users know that...
> 
> but if you, for whatever reason, really want to
> change the look of the
> active field, what about drawing a rectangle around
> it?
> 
> markus dresch (www.palmside.com)
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


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

Reply via email to