General information
Category:
ActiveX controls
Title:
ListView View Property Flaky
I am using a ListView in a custom control. While I do special things with the listview (and hence why I have it in a custom control), I am delegating the View property directly to the constituent listview.
'---------------------------------------------------------------------
Public Property Let View(NewValue As ListViewConstants)
Const PROP_NAME As String = "View"
lvwMain.View = NewValue
PropertyChanged PROP_NAME
End Property
'-----------------------------------------------------------------------
Now, everything works as it is supposed to when the control is placed directly on a form. However, when I place my custom control in another container, the listview view property acts goofy...
lvwLargeIcon, lvwReport --> OK
lvwSmallIcon --> Listview displays List (sometimes with all entries mashed together on one line)
lvwList --> Displays nothing
I've looked around on the Web, but could not find any reference to any sort of bug involving the View property. Is there something I'm missing??
John Barone
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only