Buttons do not, as far as I know - but you can do this with a ThreeButton - which is a more complex structure. Isn’t this structure somewhat outdated? or at least a somewhat bizarre overhead (especially when you’re creating a series of Dynamic Buttons) just to obtain the possibility for capturing a right-click?
There is a button modifier @ keydown which can capture ctrl, shift… Isn’t it about time to have a modifier, say, @ mousekey, which accepts lclick, rclick, and perhaps mclick for the scrollwheel button? That makes it much more straightforward if all we need is capturing something else than the left mouse click.
Or maybe the possibility already exists but I missed it in the list of modifiers?
When you create a list of twenty or more dynamic buttons, and you need a Right-click on those, its pretty heavy lifting to make them all three-buttons. Sure, it can be done, but we need to attribute button.func to the second button instead of the first, etc. etc. - all of this just to be able to capture a right-click?
Why exactly would adding something like @ mousekey be harder than it was to add @ keydown?
But I won’t insist, as you don’t seem to see any logic or commonsense in my question.