Results 1 to 2 of 2

Thread: List View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Location
    SANTA ANA
    Posts
    14

    Angry

    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

  2. #2
    Junior Member
    Join Date
    Jan 2001
    Posts
    17
    You probably don't have Windows Common Controls cheked in your components list.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width