Some controls enact their own handlers when they detect that the pen has touched down within their bounds. Often you can't do any custom handling because the generic handler eats any events not necessry to the ridigly defined function. In such cases you may have to create a custom handler for that control, which looks for those events that YOU deem important. This is certainly the case with a generic popup list, and it sounds like the slider is doing the same thing. But, you could still look to see if any 'penMoveEvents' are being generated by default, and, if so, you could use that to trigger your custom redraw.

Bob.

Maybe, when you detect that you should look for a 'PenMoveEvent'

Jim Coburn wrote:

Hi,
I'm a newbie and looking for code or a better explanation of how to use the 
ctlRepeatEvent for a feedback slider. I want to dynamically update a field based on 
changes in the slider position. I can use a non-feedback slider to update the field 
without any problems, but it only updates when the pen up event happens (as it 
should.) I want it to update as the pen causes a change in position.

thanks,
Jim




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

Reply via email to