I have made a menu with1 1 Item (about) set it to enable - unchecked visable
made a click event(msg box)
then in my form mouse up event I put
Code:
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
' Set the flags
vFlags = vbPopupMenuRightButton
' Display the menu
PopupMenu about, vFlags
End If
End Sub
I get compile error variable not defined with vFlags?
do i need to dim vFlags = "somthing " in the Option Explicit section of the code?