Hi Richard and everyone,
From: "ThuNguyet Nguyen" <[EMAIL PROTECTED]>
Subject: Highlight a button
>> Anyone please tell me what to do so the button will be highlighted when a user tabs
>on it.
>Maybe I don't understand what you are trying to accomplish, but the OS takes
care of highlighting buttons when you tap on them.
When the user taps on the button, I use ctlSelectEvent to catch the action and do
something. The button is highlighted, the code works fine.
Now, I need to know how long the user tabs on the button. Depending on the time the
button is tabbed, I have to do different things. I use ctlEnterEvent (is queued to the
event queue when the pen tab on the button), ctlExitEvent (is queued when the pen
lifts from the screen) and my code works (I think it means that the system catches the
events) but the button is never highlighted. I did return "true" in the eventHandler.
I hope I make myself clear this time, please tell me what I have to do.
Thanks a lot.
tnn
-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/