Multiselect control?

  • Thread starter Thread starter Markus Rytterkull
  • Start date Start date
M

Markus Rytterkull

Hi!

It seems like comboboxes, listboxes and listviews do not
support multiple select in compact framework.
How do you guys handle this?

Thanks for any input,
Markus
 
Hi Markus,

Selecting multiple items using the keyboard is one thing, but think
about how users are supposed to select multiple items with the stylus on
a Pocket PC.

The only scheme that might work is to use "sticky" selects, i.e. you
could select/unselect multiple items by clicking on them one after the
other. I don't now if you'd be able to override sufficient methods and
properties in the standard ListControls to get the desired behaviour.
The usual answer in this newsgroup is "roll your own control", and I'm
afraid here it'll be much the same :-(


Regards,

Elisa
 
Checkboxes can be used to support multiple selections, for example with the
ListView control.

Peter
 
If you set the Checkboxes property of the ListView control to True, it will
display a Checkbox next to each item. Users can check any number of items.
 
If you really need to enable multiselect, it can be done for a ListView as
outlined in the following conversation:
http://groups.google.ca/[email protected]#link1

In addition, there is an article here
(http://www.codeproject.com/cs/miscctrl/customcombos.asp) about custom
ComboBoxes. It was intended for the desktop framework so I'm not sure how
much of it is actually usable on the device through the compact framework
but it should give you a decent start if you are looking to create your own
control.
 
Thanks guys,

the checkboxes in listbox work just fine.
I guess I didn't really think it through, using
multiselect combo on a pda would be kind of awkward.
And I don't have to build any control of my own :)
/ Markus
 
Back
Top