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: Alexander Traud <traud at mac dot com>
Date: Wed, 31 Jul 2002 20:42:50 +0200
> 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 :-(

You work with Textconverters, don't you? This is a bug currently within the
Classic ListBox if the String is has a "known" Encoding which is not
Unicode.

Kill the encoding either via ReplaceAll(), or set it to unknown via
GetTextEncoding(&hFFFF) before you add the text to the list. Or use Unicode
Meta.

Thanks to http://www.elfdata.com/programmer/faqrbunicode.html



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