List View

  • Thread starter Thread starter El Camino
  • Start date Start date
E

El Camino

Ok, Picture this...

I have a List view already fill with data

I want to select one row in the list view with an ID that
i retrieve later on in the process

Basically its:
I have an ID

i want to find that ID in the List view

If its there then selection the whole row

Thanx
El Camino
 
ok i managed to find the row but now i need to select the
row

i tried this but no result

lsvTache.Items(intCount).selected=true
 
well, the whole thing was workin at the beginning.

I had to set the list view property:

HiddenSelection=false
 
* "El Camino said:
I have a List view already fill with data

I want to select one row in the list view with an ID that
i retrieve later on in the process

Basically its:
I have an ID

i want to find that ID in the List view

If its there then selection the whole row

Set the 'ListViewItem''s 'Selected' property to 'True'. If the
selection should even be visible if the control doesn't have the focus,
set it's 'HideSelection' property to 'True'. Or do you have problems
locating the item with #n in the listview control?
 
Back
Top