I have a List View Control in my Application.
How can I make a pull down Menu when the user clicks the Right Mouse Button on an Entry.
mfG Pueromane
Printable View
I have a List View Control in my Application.
How can I make a pull down Menu when the user clicks the Right Mouse Button on an Entry.
mfG Pueromane
Create Menu, set Visible=False and in Mous_Down event for List put:
private Sub List1_MouseDown(Button as Integer, Shift as Integer, X as Single, Y as Single)
If Button = 2 then
Form1.PopupMenu mnuFirst 'the name of Menu is mnuFirst
End If
End Sub
Vlad