Results 1 to 2 of 2

Thread: How to call it?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2005
    Posts
    570

    How to call it?

    Hi,

    How can I call it under a command button code?

    VB Code:
    1. Private Sub txtSearch_KeyUp(KeyCode As Integer, Shift As Integer)

    Call txtSearch_KeyUp

    or

    Call txtSearch_KeyUp(KeyCode As Integer, Shift As Integer

    Both are not working.

    How it can be done?

    seema_s

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: How to call it?

    you have to pass values if you're going to call it through code:
    VB Code:
    1. txtSearch_KeyUp vbKeyA, vbShiftMask
    2. ' or
    3. Call txtSearch_KeyUp(vbKeyA, vbShiftMask)

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