Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2003
    Posts
    106

    Unanswered: Right-Click function

    Hi

    Does anyone know if there is any way to make a form/control appear on right-click. I know you can specify Click and DblClick Statements but any way to do a right-click?

    Thanks

  2. #2
    Join Date
    Oct 2003
    Location
    Canada
    Posts
    574
    You can give access to the form in a shortcut menu bar which is the right click menu.

  3. #3
    Join Date
    Aug 2003
    Posts
    106
    That's brilliant! I'll have a play
    Thanks

    sugarflux

  4. #4
    Join Date
    Jul 2003
    Location
    Michigan
    Posts
    1,941
    Here's another method to try:

    (In the form's On Mouse Down event)

    Sub Detail0_MouseDown(Button As Integer, Shift As Integer, X As Single, y As Single)
    If Button = acRightButton Then
    DoCmd.OpenForm "zmfilter", , , , , , "Product Family"
    End If
    End Sub

    Make sure you set the form's Shortcut Menu property to No, so that it will not perform it's normal right click function!
    Inspiration Through Fermentation

  5. #5
    Join Date
    Aug 2003
    Posts
    106

    Perfect!

    This is perfect - exactly what i'm after!!! Thankyou!
    sugarflux @)

Posting Permissions

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