Already tried that too. What I am trying to avoid is great changes in the 
scrollbar's value, so when I get a new sclRepeatEvent with its newvalue very 
different from its previous value (yes, I am saving its previous value) then 
I set the scrollbar to its previous value. It works ok when debugging up to 
that point, but then when the HandleEvent function of the form returns 
handled = true then the scrollbar goes back again to the original value (the 
one it was originally before I pressed the stylus on it).
Scroll Bar send exit events but when I stop pressing the screen with the 
stylus, not when I am still on it.
Any ideas anyone?
Thanks.

"Jonathan King" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Well, I wouldn't call this a bug. It is probably intentional behavior.
> Windows scrollbars usually behave the same way. Perhaps your application
> could retrieve the scrollbar's value at every sclRepeatEvent and then
> when the stylus is moved out of bounds, set the scrollbar's value to the
> last one you retrieved. I'm not sure how you would know when the stylus
> leaves though. Do scroll bars send exit events?
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Martin Rais
> Sent: Wednesday, December 29, 2004 10:21 PM
> To: Palm Developer Forum
> Subject: Scrollbar Bug?
>
> I don't know if it should be called a bug or not... but when I press
> over a
> ScrollBar with the Stylus, scroll a bit and then, keeping the stylus on
> the
> screen, I move the stylus out of the scrollbar area, then what it does
> it
> sends the scrollbar to its original value (the value that it was before
> it
> was pressed). Is there any way to keep its value?
> I've tried with the penMoveEvent but Palm OS doesn't send this events
> when I
> am scrolling (it sends sclRepatEvent).
> Any ideas?
> Thanks in advance.
>
>
>
> -- 
> 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