ListView control

  • Thread starter Thread starter Rick Lederman
  • Start date Start date
R

Rick Lederman

I'm using a ListView control in a Pocket PC app. I need to know what row a
user clicked on. In VB can anyone help? I also want to update data in a
specific row/column.

Thanks

Rick Lederman
 
Hi,
SelectedIndices is your friend. Check that .SelectedIndices.Count > 0 then
..SelectedIndices(0) is the row number of the listview row selected. You can
check this in the selectedindexchanged event

HTH

Pete


--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Back
Top