How can i catch the right-click event?(right-click button)

I created a button and AddDynamic to OnPressed.

But the “IsInputKeyDown” always return false.
So…what’s wrong with my code…

nobody knows?..