Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
populating listview with array | Excel Programming | |||
How to add icons in the Listview control | Excel Programming | |||
How to use Listview control | Excel Programming | |||
Listview in Excel 97 vba. | Excel Programming | |||
Get items in ListView in columns | Excel Programming |