Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 292
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
populating listview with array RB Smissaert Excel Programming 2 September 1st 04 05:41 PM
How to add icons in the Listview control kvenku[_13_] Excel Programming 3 June 3rd 04 01:07 PM
How to use Listview control kvenku[_10_] Excel Programming 2 June 1st 04 05:45 AM
Listview in Excel 97 vba. jaxrpc Excel Programming 3 January 1st 04 03:04 PM
Get items in ListView in columns RB Smissaert Excel Programming 3 October 20th 03 12:39 PM


All times are GMT +1. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"