Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #234
| From | "Ivar" <ivar.ekstromer000@ntlworld.com> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | ListView Selection |
| Message-ID | <BmGIp.10283$w86.6225@newsfe22.ams2> (permalink) |
| Organization | virginmedia.com |
| Date | 2011-06-11 10:17 +0100 |
Hi all. Using VB6 with Common controls 6 Got a Listview in report mode with 6 columns, a few hundred rows, column headers, Multi selection and Full Row Select When it comes to selecting items with a left click, I would like the listview to work as if the Ctrl key is held down but without holding the key down. Is there an easy way to do this? Current thought is to put a flag in each list item and toggle the flag on each item click, but this would mean looping through the list items collection setting each ones selected property each time a list item is clicked. Is there a better way? Thanks in advance. Ivar
Back to comp.lang.basic.visual.misc | Previous | Next — Next in thread | Find similar | Unroll thread
ListView Selection "Ivar" <ivar.ekstromer000@ntlworld.com> - 2011-06-11 10:17 +0100 Re: ListView Selection ralph <nt_consulting64@yahoo.net> - 2011-06-11 10:29 -0500
csiph-web