Donald C. Kirker wrote:

You could probably create a custom function that will draw over the checkbox
with a grey line and then handle all screen taps to the checkbox (in the
penDownEvent) by returning true before the system has a chance to redraw an
updated checkbox over it.


Actually, it would be easier and cleaner to create a gadget and make its handler draw it in gray or black as a checkbox using the 2 checbkox "characters" (checked and unchecked) in the misc system fonts. You would handle gadget events in a regular fashion, without fear of having the system override your work. If you encapsulate things properly, you can re-use this routine or class for several pseudo-checkboxes.


--
Luc Le Blanc



"babbu cathy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

all,

I have a checkbox control in my palm application, need
to greyout the control when I select on that.
How to make it greyout(shouldnt hide) for controls in
palm?

Can anyone give me ideas in this.

cathy.

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

Reply via email to