|
-
Jun 25th, 2013, 05:37 PM
#11
New Member
Re: CommonControls (Replacement of the MS common controls)
Thanks for you suggestions.
I've downloaded the latest, and added your suggested code into my UserControl. Now I am seeing some events. I see one ItemSelect Event from your ListView (it arrives as I add the first item into ListView.ListItems). None are received by my UserControl after that. I have debug.prints in your code that report when RaiseEvents are fired by you:
When I click on an item,
You raise I receive
ItemSelect [nothing]
ItemSelect [nothing]
ItemClick [nothing]
When I click on a column header,
You raise I receive
ColumnClick ColumnClick
When I start to resize a column
You raise I receive
ColumnBeforeSize [nothing]
When I click on a row with no item in it,
You raise I receive
ItemSelect [nothing]
MouseUp MouseUp
When I left double-click on a row with no item in it,
You raise I receive
DblClick DblClick
MouseUp MouseUp
I'm fairly sure there is something in my ancient code that is still causing trouble, because I've made an ultimately simple test bed that has a UserControl with your ListView in it that's used on a simple VB6 form, and I get most of the missing Events there. [However, there are other problems --when I add ColumnHeaders, they aren't visible.
Obviously, I'm not asking for you to debug my code, I just hope these symptoms may suggest something...
Thanks for any help you can give.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|