listview
-
how can we select all the items of a listview by a checkbox inside a listview only.i dont want to use a seperate button for it.can anybody suggest me something
-
how can we select all the items of a listview by a checkbox inside a listview only.i dont want to use a seperate button for it.can anybody suggest me something
Member 9961312 wrote:
how can we select all the items of a listview by a checkbox inside a listview only
Loop trough the items, set their "Checked[^]" property?
Member 9961312 wrote:
i dont want to use a seperate button for it.can anybody suggest me something
"When" do "all the items" need to be checked? If it's an action that's initiated by the user, then he/she will need some UI element to interact with. In other words, if not on a button-click, when? How about when the form loads? That'd select them all, even before the list is shown.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
-
how can we select all the items of a listview by a checkbox inside a listview only.i dont want to use a seperate button for it.can anybody suggest me something
set MultiSelect property true and checked list item in loop.
-
how can we select all the items of a listview by a checkbox inside a listview only.i dont want to use a seperate button for it.can anybody suggest me something
If I'm interpreting your question right you want the user to be able to select all of the items in the ListView, but you don't want to give them a button to do it? If so, why not set up a context menu with a Select All option? Then, as others have suggested, step through all the items in the LV and set Checked = true; for each item.