Right click events on tree items & hiding context menues
Posted: Wed Sep 16, 2009 13:35
Hi,
I use the seemingly loated tree widget hehe. Anyway, I have a need to recieve right click events on TreeItems in order to display a context menu, but I can't seem to find any convinient way to implement this functionality neither on the Tree level nor the TreeItem level.
I use right click context menues in some areas and are having problems hiding them when the user clicks outside the context menu. I've tried to use EventDeactivated but it doesn't seem to be sent. Is there perhaps anything I'm missing or is this the correct route but a problem somewhere at my end?
Thanks in advance
I use the seemingly loated tree widget hehe. Anyway, I have a need to recieve right click events on TreeItems in order to display a context menu, but I can't seem to find any convinient way to implement this functionality neither on the Tree level nor the TreeItem level.
I use right click context menues in some areas and are having problems hiding them when the user clicks outside the context menu. I've tried to use EventDeactivated but it doesn't seem to be sent. Is there perhaps anything I'm missing or is this the correct route but a problem somewhere at my end?
Thanks in advance