Results 1 to 3 of 3

Thread: Force a Click

  1. #1
    Join Date
    Mar 2004
    Location
    Massachusetts
    Posts
    16

    Unanswered: Force a Click

    I have a list box which will always have only a single row.

    Is there a way "force" a click on this without actually doing the "click" and how do I do that?

  2. #2
    Join Date
    Sep 2003
    Location
    The extremely Royal borough of Kensington, London
    Posts
    778
    Hi,

    The associated method can be called directly.

    Private Sub Command0_Click()
    MsgBox "Test"
    Call methodB
    End Sub

    Private Sub MethodA()
    Call Command0_Click
    End Sub

    Or

    Private Sub MethodA
    Call MethodB
    End Sub
    Bessie Braddock: Winston, you are drunk!
    Churchill: And Madam, you are ugly. And tomorrow, I'll be sober, and you will still be ugly.

  3. #3
    Join Date
    Mar 2004
    Location
    Massachusetts
    Posts
    16
    Thanks, I'll give it a try.

Posting Permissions

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