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
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