Lesley MacMahon
New Member
I have a dynamic popup menu on a dynamic browse. On right-mouse-click of a selected row, my dynamic popup menu appears and acts the way I want it to. I want to preserve the default popup menu that you get for free with the browse widget (cut, paste, select all etc) on right-mouse-click also on right-mouse-click. I detemine which popup menu functionallity is required by checking if num-selected-rows > 0 and I delete my dynamic popup menu after is each option from it is complete and recreate it again the next time the right-mouse-click is selected on a row.
My problem is - if the user does not select one of the popup menu options and just dimisses the menu by say clicking anywhere on the browse behind, my delete code isn't triggered and the default popup is always my dynamic popup until they select it again and choose one of the options.
What is the event that is triggered when a popup menu goes disappears? I need to add my delete object code when this happens. I've tried the menu triggers on 'close' and on 'leave' but these don't work.
Can anyone help please.
My problem is - if the user does not select one of the popup menu options and just dimisses the menu by say clicking anywhere on the browse behind, my delete code isn't triggered and the default popup is always my dynamic popup until they select it again and choose one of the options.
What is the event that is triggered when a popup menu goes disappears? I need to add my delete object code when this happens. I've tried the menu triggers on 'close' and on 'leave' but these don't work.
Can anyone help please.