realbasic-nug
[Top] [All Lists]

Re: Scrolling a ListBox

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Scrolling a ListBox
From: Stéphane Pinel <s dot pinel at equinoxpartners dot fr>
Date: Wed, 31 Jul 2002 20:24:16 +0200
Le 31/07/02 20:03, « Seth Willits » <seth at freaksw dot com> a écrit :

> On 7/31/02 10:40 AM, the NSA intercepted the following message from
> "Stéphane Pinel" <s dot pinel at equinoxpartners dot fr>:
> 
>> Is there a way to accelerate ListBox vertical scrolling ? Once I get a
>> hundred rows, scrolling is almost unacceptable from the users
>> perspective....
> 
> Ditch the listbox scrollbar and slap a normal scrollbar right up beside it.
>> From there you can use: listbox1.scrollposition = me.value. Here you can
> change the LineStep value and more lines will be scrolled with every click.
> You can get really fancy and make it so if the user holds down the
> scrollbutton for a very long time the scrolling actually gets faster by
> changing the linestep value.
> 
Thanks Seth, I just did it but in fact, it doesn't accelerate the scrolling
because the time take to pass from a lineStep to the next is proportionally
longer than when it does from one to one. When I click down in the scrollbar
, I get a waiting cursor and the process is very very slow. It's a big
problem because users will not accept this :-(

Thanks anyway.

-- 
Stéphane Pinel
Equinox Partners France
Information System



<Prev in Thread] Current Thread [Next in Thread>