Does listbox control provide "independent" double selections?

K

kimiraikkonen

Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.

As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they're
independent, i mean, one selection can jump to next item being
independent from another selection.

A good example demonstrates this:
http://img182.imageshack.us/img182/9973/listboxindependently8.jpg

In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).

Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.

Is there a way to do the same in .NET's listbox or other 3rd party
control?

Thanks,

Onur
 
T

Thiago Macedo

Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.

As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they're
independent, i mean, one selection can jump to next item being
independent from another selection.

A good example demonstrates this:http://img182.imageshack.us/img182/9973/listboxindependently8.jpg

In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).

Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.

Is there a way to do the same in .NET's listbox or other 3rd party
control?

Thanks,

Onur

If I get your point correctelly (can't see the image, company proxy),
you could do that by simply styling (coloring) a item with a different
color (like when a song that's beeing played) and let the selection
highlight itself to the user selection.
Don't know exactly how to do this, but I found some examples:

http://www.codeproject.com/KB/combobox/xlistctrl.aspx
http://www.codeproject.com/KB/combobox/quicklist.aspx
http://www.codeproject.com/KB/combobox/colorlistbox.aspx
and
http://www.c-sharpcorner.com/Upload...stBox11292005042525AM/DotNETColorListBox.aspx

Thiago
 
K

kimiraikkonen

If I get your point correctelly (can't see the image, company proxy),
you could do that by simply styling (coloring) a item with a different
color (like when a song that's beeing played) and let the selection
highlight itself to the user selection.
Don't know exactly how to do this, but I found some examples:

http://www.codeproject.com/KB/combo...codeproject.com/KB/combobox/colorlistbox.aspx
andhttp://www.c-sharpcorner.com/UploadFile/Alex/DotNETColorListBox112920...

Thiago

Hi,
Thanks for reply, but i'm afraid i'm not looking for colored-
appearance. I just wondered if there's a listbox / listview type like
Windows Media Player's or Winamp's that allows only 2 selection, 1
selection is controlled by application, second one is reserved to user
for free selection.

Looking at screenshot may give more idea about it:
http://img182.imageshack.us/img182/9973/listboxindependently8.jpg


Thanks

Onur
 
K

kimiraikkonen

Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.

As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they'reindependent, i mean, one selection can jump to next item beingindependentfrom another selection.

A good example demonstrates this:http://img182.imageshack.us/img182/9973/listboxindependently8.jpg

In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).

Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.

Is there a way to do the same in .NET's listbox or other 3rd party
control?

Thanks,

Onur

Is there a known technique or 3rd party listbox/view control for that
issue?
(Two independent listbox selections, selecting one doesn't effect
other one)
Please see screenshot:
http://img182.imageshack.us/img182/9973/listboxindependently8.jpg

Thanks!

Onur
 
T

Thiago Macedo

Is there a known technique or 3rd party listbox/view control for that
issue?
(Two independent listbox selections, selecting one doesn't effect
other one)
Please see screenshot:http://img182.imageshack.us/img182/9973/listboxindependently8.jpg

Thanks!

Onur

Sorry, Onur,

but do you examined the examples that i mentioned? (yes, i know u do)
I think you can do the task with them.
The "Playing music now" (application controled) selection is not other
thing than an colored item, while the user selection is the list
selector itself.
So, in execution time set a color to an item (that will be the app
selection) and store its index/name/item and let the selector of the
listbox for the user, handling the events that you need.

regards,

Thiago
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top