Results 1 to 3 of 3

Thread: RaiseEvents

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Location
    London
    Posts
    2

    RaiseEvents

    I have the following function within a form:


    Private Function populateList(sKey As String) As Integer

    Dim aListItems() As String, lFields As Long
    Dim i As Long

    RaiseEvent getListItems(sKey, aListItems(), lFields)

    For i = 0 To UBound(aListItems()) Step lFields
    lvwExplorer.ListItems.Add , "L" & aListItems(i), aListItems(i + 1)
    Next i

    End Function


    If I call this function from the Form_Load event the RaiseEvent fires correctly and goes off to the class module. However I also am trying to get it to fire on the ItemClick event of the ListView control. It doesn't fire.

    Any ideas would be greatly appreciated.

    Regards

    Gary
    Last edited by ggoodson1980; Mar 21st, 2002 at 01:04 PM.

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