PDA

Click to See Complete Forum and Search --> : List View


J_BEYTIA
Jan 31st, 2001, 03:57 PM
Im trying to add subitems to my listview from my class module. But I keep getting the following message: Error: User-defined type not defined
How do I make my class recognize the listiem property for my listview?


Code

ex: Dim itmCurrent as ListItem <------ Error

Set itmcurrent = m_objEnvironment.lvwPS.ListItems.Add()

itmcurrent.Text = sLevel

pdeutsc
Jan 31st, 2001, 04:27 PM
You probably don't have Windows Common Controls cheked in your components list.