Thread: bug listview?
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RB Smissaert RB Smissaert is offline
external usenet poster
 
Posts: 2,452
Default bug listview?

Trying to get to grips with the listview control.
One problem I haven't solved yet is this:
I have listview with 2 columns, so one subitem.
When the a listitem is clicked the whole row goes highlighted in blue.
When the listview loses focus this item goes grey, don't mind that.
When I now click on the same (grey) list item after about one second, the
first column item goes in edit mode. So the cursor will appear and the whole
first item (in column one) will be highlighted (in blue), but the rest of
the row
will stay in grey.
I have tried to solve this by doing a SendKeys with the escape character,
but that
doesn't work.
There is no code in the ItemClick event that causes this behaviour.
Any idea what causes this behaviour and how to solve it?

RBS