VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Right Click Menu On The Form

by Se¨n Garvan (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 29th November 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Right Click Menu On The Form

API Declarations



Just Follow The Instructions Bellow And Bobs Your Uncle

Rate Right Click Menu On The Form



   mnuPopUp until you press the Left Arrow button ( <- )

4: In the Caption box, type &Insert Row
   In the Name box, type "mnuPopUpInsert"

5: Hit the "Next" button

6: In the Caption box type "&Delete Row"
   In the Name box type "mnuPopUpDelete"

7: Hit the "Next" button

8: In the Caption box type "&Modify Row"
   In the Name box type "mnuPopUpModify"

9: Hit the "OK" button

10: In the MouseDown event of the Form, type the
    following code...

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _
        X As Single, Y As Single)

    If Button = vbRightButton Then
        PopupMenu mnuPopUp
    End If

End Sub



Download this snippet    Add to My Saved Code

Right Click Menu On The Form Comments

No comments have been posted about Right Click Menu On The Form. Why not be the first to post a comment about Right Click Menu On The Form.

Post your comment

Subject:
Message:
0/1000 characters