Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Apr 2002
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Mouse Key event (Access 2002/3)

    Using something like the SendKeys command/function I to instigate a Left mouse Button Click from either a mocro or Event Procedure. From my understanding this has to be done using code. I would appreciate some assistance on this one. Thanks.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Mouse Key event (Access 2002/3)

    Could you provide some details abiut what you want to accomplish?

  3. #3
    Lounger
    Join Date
    Apr 2002
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Mouse Key event (Access 2002/3)

    I have a situation in which I want my application to click the left mouse button, once. I'm aware of the SendKeys action, which lets one send various keycode combinations, and I'm aware of the various events that let me tell if the user has clicked the mouse, but I don't see how to click the mouse (perhaps because that's not recommended?). It appears that unless i click the mouse on a form field After running a Select file routine the value returned to the from is not written to the underlying Table

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Mouse Key event (Access 2002/3)

    You can make a control the active control as if the user clicked on it by using its SetFocus method:

    Me.txtSomething.SetFocus

Posting Permissions

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