Notifications
Clear all

[Closed] PopupMenu within a Listbox??

Is it possible to instantiate a right-click popupMenu via a mousedown even occuring within an existing listBox controller?

I can’t seem to find a way.

note: I’d like to avoid usins ActiveX if possible.

3 Replies
 PEN

Well the pop up isn’t the issue, it is the fact that on selected it called on the mouse up and not on the mouse down. popUpMenu is what you are looking for when creating the menu.

Ahh yes. Silly me.

…although I am unaware of a right-click event handler for a listBox (or any controller for that matter) off-hand…

I guess the regular left-click that ‘selected’ handles will work for now.

Thanks Paul!

 PEN

I would suggest using an activeX list box instead so that you have more control of it.