listview checked item
Tech-Archive recommends: Fix windows errors by optimizing your registry
My form has a listview populated with the 50 states. When the user
checks the checkbox within the listview for a particular state, I need
to retrieve which state was checked (i.e. if AZ is checked I need to
get the text AZ) and search through an array for matching text. When
matching text is found I need to populate another listview with some
information.
So if the array is two-dimensional and I'm looking at elements
(0,0 ... 0,7) for matching text, the matching text will always be at
(0,6) and when a match is found I need to send the text found in (0,1)
to another listview. I am not sure what listview event to work with
and what property I need to use (checkeditem, etc...). It does need
to be a checked item though and not a selected item.
.
Relevant Pages
- Re: listview checked item
... "spowel4" schreef in bericht ... checks the checkbox within the listview for a particular state, ... get the text AZ) and search through an array for matching text. ... and what property I need to use (checkeditem, ... (microsoft.public.dotnet.languages.vb) - Re: listview checked item
... Set the listview property so that only one item can be selected. ... ByVal str As String) As String ... get the text AZ) and search through an array for matching text. ... and what property I need to use (checkeditem, ... (microsoft.public.dotnet.languages.vb) - Re: Removing multiple items from a multi-select ListView
... When you actually remove an item then the index of the other items changes ... Record to some variables (array) a unique value of the items you want to ... ListView control? ... Dim iIndices As Integer ... (microsoft.public.dotnet.languages.vb) - Re: Which is bester , LVS_OWNERDATA or LPSTR_TEXTCALLBACK ?
... I see some example that call both appoach and approachfullfil a ... could you explain what kind of data is maintain in the listview when use ... > listview as your container data structure, then the approach is fine. ... > you were maintaining your own array, such that the listview could be ... (microsoft.public.vc.mfc) - Re: ListView SelectedItems SelectedIndices Count Property - Cross
... getting an array of values before hiding the screen. ... selections the program queries for distinct values then fills in drop down ... > Is there any reason you need to get this information from an invisible ... > the listview becomes invisible and copy them to an ArrayList or Hashtable. ... (microsoft.public.dotnet.languages.vb.controls) |
|