Re: Resurrected: How to select multiple in list

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Fri, 29 Nov 2002 02:01:03 +0000, <totorangi at hotmail.com> wrote:

>
> Happy days. Been struggling to programmatically select multiple items in a 
> List control. Had found out about LBS_EXTENDEDSEL but still kept getting 
> an error, however the archive came to the rescue with the following 
> setMany procedure.
>
> Questions for Derek I guess.  Is this now part of win32lib under another 
> name,

No, but it should be. I'll put it in. Any suggestions for a good name?

> or is it still the way to do it ? Is there also a way of selecting a range 
> of items in a list (e.g. from 4 to 9), or all items ?

Does setIndex( list, {from, to}) work for you?
-- 

cheers,
Derek Parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu