1. Re[2]: ListView setIndex()

Tried 0.59.1, but how to use the new setIndex()?

I tried setIndex(lv, 0) when lv is a multi-select listview, but the
previous selected items are still selected.

______________________________________________


D> ----- Original Message -----
D> From: "aku saya" <akusaya at gmx.net>
D> To: "EUforum" <EUforum at topica.com>
D> Sent: Tuesday, June 03, 2003 10:49 PM
D> Subject: ListView setIndex()


>>
>>
>> If the selected items in a listview is {1, 2, 3}
>> then I do setIndex(lv, 5),
>> the selected items become {1, 2, 3, 5}.
>>
>> How to deselect an item?
>>
>> Using setIndex(lv, 0) doesn't work (a bug?)
>>
D> Sorry to have taken so long to respond to this one.

D> I'm guessing you have a Multiple Selection list because the setIndex(lv, 0)
D> only works for single selection lists.  I've just finished fixing the
D> library to support multiple selection lists. I'll be uploading the new
D> version tomorrow (about 24 hours from now). I'd post it here but quite a lot
D> of code changes were needed.

D> --
D> Derek.



D> TOPICA - Start your own email discussion group. FREE!

new topic     » topic index » view message » categorize

2. Re: Re[2]: ListView setIndex()

----- Original Message -----
From: "aku saya" <akusaya at gmx.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re[2]: ListView setIndex()


>
>
> Tried 0.59.1, but how to use the new setIndex()?
>
> I tried setIndex(lv, 0) when lv is a multi-select listview, but the
> previous selected items are still selected.
>

It works okay here. Send me sample code that doesn't work and I'll check it
out.
--
Derek

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu