Keeping the row selected in listview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I have a listview and a textbox. when I select a row in the listview I want
to be able to click on the textbox and type in some details. This obviously
works fine - however when I click on the textbox the selected row in the
listview loses it's selection (the usual windows blue vanishes - as if no row
was selected) is there any way to keep the highlight "lit" in a listview
when working with other controls on a form?

Thanks in advance to anyone that can help me out here

Niels
 
Hi Niels,
There's a property on the listview "HideSelection" set it to false and you
will get a gray color on the selected row

HTH
/Kejpa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top