Bevel button left-click

It appears that the Action event of a bevel button does not fire if that button has a menu associated with it. Is this true? And if so, is there any way to read a left-click on such a button.

In case you’re wondering, I want my bevel button to use the menu to quick-open files using the right-click option but to quick-open the first file with a left-click.

You can use Action and on Right Click use the ConstructContextualMenu event.

Jason,

That doesn’t work for me. The Action event doesn’t fire. When I check the “HasMenu” box, it seems to disable the Action event.

MouseDown event?

If you’re using the contextual menu event turn off HasMenu. You’ll use the ConstructContextualMenu and ContextualMenuAction events to present a menu and handle the selection (this handles the right click) and the action event handles the left click.

Thanks, Jason. I’m am amateur programmer and things like this can be a big time drain for me. You saved me a bunch of that.