Re: Sorting a listBox and keeping the multi-selected lines... selected

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I wonder if it's a Windows-2000 thing. But what?

When I try to run that code on Windows-2000/IE6... clicking on any 1 item in
the list box... runs that code... but selects *ALL*
the items from the top of the listBox... down to the one I clicked on. (It
should only keep the original one item selected.)

Weird.



"Ayush" <"ayushmaan.j[aatt]gmail.com"> wrote in message
news:efh%23Y6cKHHA.320@xxxxxxxxxxxxxxxxxxxxxxx
Replied to ["A_Michigan_User"]s message :
I give up. I'm trying to save 3 values from each line of a multi-select
listbox... then sort
them... and put them back into the listbox. (Also remembering which
were previously selected.)

This code seems to work fine with Windows-XP/IE7... but not with
Windows-2000/IE6.
Anyway to write a more universally usable block of JavaScript code?
[code]

This should work. I tested on XP,Sp2 / IE 6 and this works. I think
problem is somewhere else.

? Ayush [ Good :-) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


.



Relevant Pages

  • Re: listbox as an object
    ... misunderstand you. ... Do be careful about who is the Owner of the control. ... I've a feeling that this is a variation of the 'synchronized Listbox' ...
    (alt.comp.lang.borland-delphi)
  • Re: Opendialog problem
    ... the problem doesnt appear until a while. ... snazzed up Listbox ... Later it is looking at Swiss Cheese ...
    (alt.comp.lang.borland-delphi)
  • Sorting a listBox and keeping the multi-selected lines... selected
    ... then sort ... and put them back into the listbox. ... Anyway to write a more universally usable block of JavaScript code? ... var v = new Array; ...
    (microsoft.public.scripting.jscript)