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 |
bug listview?
Hi
Set its LabelEdit property to 1 (manual) . It's 0 (automatic) by default and that's very annoying. HTH. best wishes Harald "RB Smissaert" skrev i melding ... 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 |
bug listview?
Harald,
Solved. Many thanks again. RBS "Harald Staff" wrote in message ... Hi Set its LabelEdit property to 1 (manual) . It's 0 (automatic) by default and that's very annoying. HTH. best wishes Harald "RB Smissaert" skrev i melding ... 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 |
All times are GMT +1. The time now is 02:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com