Results 1 to 3 of 3

Thread: More collection questions

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    7

    Question

    Well I have finally got my collection key loading into my list box. Now on my click event I want to target my key, which is in the list box and display the member in a text box. Here is what I have tried and getting error"Object required":
    Private Sub lstTerms_Click()
    Dim myKey As String
    Dim DefFound As String

    myKey = lstTerms
    Set DefFound = mcollTerms.Item(myKey)'(error here)
    txtDefine.Text = DefFound

    End Sub
    Kelly

  2. #2

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    7
    Hey Ex,
    It dosen't work but thanks for the input.
    It is the .things, I just don't know how to do these tie ins
    code is the easy part, it is these objects I have to tie into that is driving me nuts>
    Kelly

  3. #3
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    Not a problem. If I knew exactly what you were trying to do, I might be of more help. I'm currently working on making an app more OOP (reads in special text files parses them to objects, etc. multiple forms collections, and such ... big project) so I may be able to help ya out ... at least while my mind is working through the same ideas
    -Excalibur

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