Information générale
Catégorie:
Contrôles ActiveX
Titre:
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement