use the PopupMenu
1. create a menu with two submenus
2. put anything in your two menus (code that is...)
3. hide the menu
4. in the ListBox MouseDown event... put this code
[Edited by rod on 09-07-2000 at 12:18 AM]Code:Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = 2 Then PopupMenu mnuMymenu 'mnuMyMenu is the name of your menu End If End Sub




Reply With Quote