popup-menu

sweet_sindy1982

New Member
I have a button with a pop-up menu. The popup only shows when the button is clicked with the right mouse button.
I like the popup menu to show when the left or right button is clicked.
I tryed changing the menu-mouse attribute of the button, but then i have to double click with the left mouse button the first time, and once following times. The right button works fine.

Who can help ?
 
Greetings,

You haven't said the version you are running, Char or GUI, however the principle is the same.
Basically you need another trigger EXACTLY the same code you have in the wrong place in the right place. You currently have something like ON < what ever trigger > :
END BLOCK. You just need to replicate this for the desired effect, eg instead of ON single-mouse-click you would like it when the user double clicks , move the code to be behind the ON dbl-mouse-click

Regards
 
I use progress 9 with a windows gui. I don't have any code in my rightclick event of my button. It seems like the dropdown menu is automatically set to drop down at right click. In the properties of the button i chose the popup menu button to set my menu items.
 
Back
Top