Hanya sharing pengalaman: nge blog, google AdSense, cyber enjoyable

Naruto Fans Kampanye Damai Pemilu Indonesia 2009 Mendukung SBY untuk menjadi Presiden 2009-2014

Jun 13, 2007

Create popup menu

Task Create popup menu

First, you must create an menu in menu editor (Tool >> menu editor or press Ctrl + E)

For Example :
Caption : File
Name : mnFile

CODE

'For making an Popupmenu action

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

If Button = 2 Then

PopupMenu mnFile

End If

End Sub

Private Sub mnFile_Click()
MsgBox "This is Popupmenu", vbInformation, "Info"

End Sub

0 comments:

Alexa Rank