> I have a scrollbar to scroll a table in my program.
> In my form event handler, I catch event sclRepeat and
> based on the differences between the old value of the
> scroll bar and the new value, I adjust the scrollbar
> accordingly. This works well user taps on the arrows,
> or move the scroll car slowly or one step at a time.
>
> However, when the user drags the scroll car quick a
> drop it, it always goes back to the initial position,
> and the screen is not updated.
>
>
> case sclRepeatEvent:
> MainViewScroll(eventP->data.sclRepeat.newValue -
> eventP->data.sclRepeat.value);
>
Sounds to me like you're returning true when handling sclRepeatEvent. Make
sure to return false, so the default behavior (which is to send *another*
sclRepeatEvent) can occur.
At least, that's the behavior I've seen when I forget, and return true.
Neil
--
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA 92374
(909) 793-5995 [EMAIL PROTECTED] fax: (909) 793-2545
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/