Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Need special menu on right click from grid or listbox.
Versions des environnements
I want to be able to display a list of items. If the user right clicks on an item in the list, a special menu is displayed providing them options for manipulating that item.
However, if the user right clicks on an "empty" part of the list a special menu is displayed allowing them to "Add a new item".
I'm kind of after the effect you get in Windows Explorer's detail view. When you right click on a file, you get a menu option relating to the file. When you right click on a blank area of the WE screen, you get a menu allowing you to create a new directory, etc.
Any ideas on how to accomplish this?
Thanks so much.
Rodd
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement