Lists in VB.NET CF...

  • Thread starter Thread starter dwhittenburg
  • Start date Start date
D

dwhittenburg

I've played with ListBox, ListView and used DataGrid a good bit. I was
wandering if either of these could be used as a solution for my problem or
if there were other List solutions?

My problem is that I basically need a selection mechanism from a list,
however I need it multi-select. Currently, I'm using two ListBox controls,
one as the Available and one as the selected. Once clicking on the Available
it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could select
mutliples...

Any suggestions?
 
Daniel,

Thanks for the quick response...

I thought about using a checkbox, but I'd rather use highlighting than
putting another control on the form.

Btw, that site is in Spanish. I can read the code but not the text :)



Daniel Moth said:
How about using checkboxes with a listview?

Also a quick search brought this up:
http://www.codeppc.com/dotnet/listview/multiselect/listviewmultiselect.htm
[I have not tried it myself so have no idea if it works or not]

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
I've played with ListBox, ListView and used DataGrid a good bit. I was
wandering if either of these could be used as a solution for my problem
or if there were other List solutions?

My problem is that I basically need a selection mechanism from a list,
however I need it multi-select. Currently, I'm using two ListBox
controls, one as the Available and one as the selected. Once clicking on
the Available it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could
select mutliples...

Any suggestions?
 
I thought it was in French :-)
Either way I don't have time to get it translated right now so you are on
your own I am afraid. Let us know if it works as advertised...

By the way, the workaround is not to use a checkbox control but to actually
use checkboxed listview. Look at the ListView.CheckBoxes boolean property.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
Daniel,

Thanks for the quick response...

I thought about using a checkbox, but I'd rather use highlighting than
putting another control on the form.

Btw, that site is in Spanish. I can read the code but not the text :)



Daniel Moth said:
How about using checkboxes with a listview?

Also a quick search brought this up:
http://www.codeppc.com/dotnet/listview/multiselect/listviewmultiselect.htm
[I have not tried it myself so have no idea if it works or not]

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
I've played with ListBox, ListView and used DataGrid a good bit. I was
wandering if either of these could be used as a solution for my problem
or if there were other List solutions?

My problem is that I basically need a selection mechanism from a list,
however I need it multi-select. Currently, I'm using two ListBox
controls, one as the Available and one as the selected. Once clicking on
the Available it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could
select mutliples...

Any suggestions?
 
ah...ok...

I will check out the stuff on the site and let you know what I discover...
It also doesn't appear that it is for the Compact Framework either...

Thanks


Daniel Moth said:
I thought it was in French :-)
Either way I don't have time to get it translated right now so you are on
your own I am afraid. Let us know if it works as advertised...

By the way, the workaround is not to use a checkbox control but to
actually use checkboxed listview. Look at the ListView.CheckBoxes boolean
property.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
Daniel,

Thanks for the quick response...

I thought about using a checkbox, but I'd rather use highlighting than
putting another control on the form.

Btw, that site is in Spanish. I can read the code but not the text :)



Daniel Moth said:
How about using checkboxes with a listview?

Also a quick search brought this up:
http://www.codeppc.com/dotnet/listview/multiselect/listviewmultiselect.htm
[I have not tried it myself so have no idea if it works or not]

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


I've played with ListBox, ListView and used DataGrid a good bit. I was
wandering if either of these could be used as a solution for my problem
or if there were other List solutions?

My problem is that I basically need a selection mechanism from a list,
however I need it multi-select. Currently, I'm using two ListBox
controls, one as the Available and one as the selected. Once clicking
on the Available it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could
select mutliples...

Any suggestions?
 
But it checkboxes in the listview do work in the CF.

--
<ctacke/>
www.OpenNETCF.org
Your CF searches start and end here


dwhittenburg said:
ah...ok...

I will check out the stuff on the site and let you know what I discover...
It also doesn't appear that it is for the Compact Framework either...

Thanks


Daniel Moth said:
I thought it was in French :-)
Either way I don't have time to get it translated right now so you are on
your own I am afraid. Let us know if it works as advertised...

By the way, the workaround is not to use a checkbox control but to
actually use checkboxed listview. Look at the ListView.CheckBoxes boolean
property.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
Daniel,

Thanks for the quick response...

I thought about using a checkbox, but I'd rather use highlighting than
putting another control on the form.

Btw, that site is in Spanish. I can read the code but not the text :)



How about using checkboxes with a listview?

Also a quick search brought this up:
http://www.codeppc.com/dotnet/listview/multiselect/listviewmultiselect.htm
[I have not tried it myself so have no idea if it works or not]

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


I've played with ListBox, ListView and used DataGrid a good bit. I was
wandering if either of these could be used as a solution for my
problem or if there were other List solutions?

My problem is that I basically need a selection mechanism from a list,
however I need it multi-select. Currently, I'm using two ListBox
controls, one as the Available and one as the selected. Once clicking
on the Available it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could
select mutliples...

Any suggestions?
 
To followup, the stuff on the French site works (in an emulator at least).
As an aside, I think users would hate me if I made them use the Ctrl key to
multiselect items on a listview - LVIs with cehckboxes seems more natural...

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
ah...ok...

I will check out the stuff on the site and let you know what I discover...
It also doesn't appear that it is for the Compact Framework either...

Thanks


Daniel Moth said:
I thought it was in French :-)
Either way I don't have time to get it translated right now so you are on
your own I am afraid. Let us know if it works as advertised...

By the way, the workaround is not to use a checkbox control but to
actually use checkboxed listview. Look at the ListView.CheckBoxes boolean
property.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
Daniel,

Thanks for the quick response...

I thought about using a checkbox, but I'd rather use highlighting than
putting another control on the form.

Btw, that site is in Spanish. I can read the code but not the text :)



How about using checkboxes with a listview?

Also a quick search brought this up:
http://www.codeppc.com/dotnet/listview/multiselect/listviewmultiselect.htm
[I have not tried it myself so have no idea if it works or not]

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


I've played with ListBox, ListView and used DataGrid a good bit. I was
wandering if either of these could be used as a solution for my
problem or if there were other List solutions?

My problem is that I basically need a selection mechanism from a list,
however I need it multi-select. Currently, I'm using two ListBox
controls, one as the Available and one as the selected. Once clicking
on the Available it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could
select mutliples...

Any suggestions?
 
I understand what you guys are saying. But I would really like to not use a
list of check-boxes if I can find a way to create a control or something
that would allow the user to simply click the row for selection. I don't
feel that a huge list of possibly 1k entries of checkboxed items is too
natural. They wouldn't have to use the Ctrl key for mutli-select, any
clicking would activate/inactivate the row.

I'm going to keep tinkering and see what I come up with.

Thank you for you input.


Daniel Moth said:
To followup, the stuff on the French site works (in an emulator at least).
As an aside, I think users would hate me if I made them use the Ctrl key
to multiselect items on a listview - LVIs with cehckboxes seems more
natural...

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
ah...ok...

I will check out the stuff on the site and let you know what I
discover...
It also doesn't appear that it is for the Compact Framework either...

Thanks


Daniel Moth said:
I thought it was in French :-)
Either way I don't have time to get it translated right now so you are
on
your own I am afraid. Let us know if it works as advertised...

By the way, the workaround is not to use a checkbox control but to
actually use checkboxed listview. Look at the ListView.CheckBoxes
boolean
property.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


Daniel,

Thanks for the quick response...

I thought about using a checkbox, but I'd rather use highlighting than
putting another control on the form.

Btw, that site is in Spanish. I can read the code but not the text :)



How about using checkboxes with a listview?

Also a quick search brought this up:
http://www.codeppc.com/dotnet/listview/multiselect/listviewmultiselect.htm
[I have not tried it myself so have no idea if it works or not]

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


I've played with ListBox, ListView and used DataGrid a good bit. I
was
wandering if either of these could be used as a solution for my
problem or if there were other List solutions?

My problem is that I basically need a selection mechanism from a
list,
however I need it multi-select. Currently, I'm using two ListBox
controls, one as the Available and one as the selected. Once clicking
on the Available it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could
select mutliples...

Any suggestions?
 
I don't follow. With the ListView you have 2 possible behaviors: if you tap
the checkbox, it toggles, if you tap the row it just highlights or any tap
on the row toggles the checkbox.

--
<ctacke/>
www.OpenNETCF.org
Your CF searches start and end here


dwhittenburg said:
I understand what you guys are saying. But I would really like to not use
a list of check-boxes if I can find a way to create a control or something
that would allow the user to simply click the row for selection. I don't
feel that a huge list of possibly 1k entries of checkboxed items is too
natural. They wouldn't have to use the Ctrl key for mutli-select, any
clicking would activate/inactivate the row.

I'm going to keep tinkering and see what I come up with.

Thank you for you input.


Daniel Moth said:
To followup, the stuff on the French site works (in an emulator at
least).
As an aside, I think users would hate me if I made them use the Ctrl key
to multiselect items on a listview - LVIs with cehckboxes seems more
natural...

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


dwhittenburg said:
ah...ok...

I will check out the stuff on the site and let you know what I
discover...
It also doesn't appear that it is for the Compact Framework either...

Thanks


I thought it was in French :-)
Either way I don't have time to get it translated right now so you are
on
your own I am afraid. Let us know if it works as advertised...

By the way, the workaround is not to use a checkbox control but to
actually use checkboxed listview. Look at the ListView.CheckBoxes
boolean
property.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


Daniel,

Thanks for the quick response...

I thought about using a checkbox, but I'd rather use highlighting than
putting another control on the form.

Btw, that site is in Spanish. I can read the code but not the text :)



How about using checkboxes with a listview?

Also a quick search brought this up:
http://www.codeppc.com/dotnet/listview/multiselect/listviewmultiselect.htm
[I have not tried it myself so have no idea if it works or not]

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


I've played with ListBox, ListView and used DataGrid a good bit. I
was
wandering if either of these could be used as a solution for my
problem or if there were other List solutions?

My problem is that I basically need a selection mechanism from a
list,
however I need it multi-select. Currently, I'm using two ListBox
controls, one as the Available and one as the selected. Once
clicking
on the Available it goes to the selected and vice versa.

I was actually looking for more of one list that I could use and on
selection of an item in the list it would be highlighted and I could
select mutliples...

Any suggestions?
 
Back
Top