Le 31/07/02 23:21, « Alexander Traud » <traud at mac dot com> a écrit :
....
>>> You work with Textconverters, don't you?
>> Yes. In fact, I get ISO data from a MySQL database and then convert it into
>> something French readable usin TextConverter etc. But this is done before
>> using the ListBox !?
>
> Yes. It is about this new RB 4.5 String encoding info which are attached
> after they were passed through a TextConverter.
No matter where TextConverter is used ?
>
>
>>> Kill the encoding either via ReplaceAll(), or set it to unknown via
>>> GetTextEncoding(&hFFFF)
>> Can do that because I going to loose French special characters.
>
> No. I meant not "changing" the encoding, only kill this bit information
> which goes along with the String. Which Encoding do you use? French is and
> should be MacRoman or Unicode compatible. Try for example a
> ReplaceAll( text, chr(00), chr(00)) before adding to the ListBox if you do
> not use UTF-16.
Thanks Alexander.
I've placed "ReplaceAll..." before adding row into but nothing has changed.
The ListBox scrolling is horribly slow (each click on the down arrow
generates the appearance of the watch cursor, so when I keep mouse down, I
get a constant watch cursor and this is so slow. No user will accept this !)
Is someone else experiencing troubles with ListBox scrolling ?
A+
--
Stéphane Pinel
Equinox Partners France
Information System
|