onPreButtonEvent MethodProtected

Application sub-classes can override this method to intercept button events before they are sent to the active tool. An example use for this event would be to implement a shift + right-click or right-press menu.

onPreButtonEvent(_ev: BeButtonEvent): boolean

@returns true if event was handled and should not propagate to the active tool.

Parameter Type Description
_ev BeButtonEvent  

Returns - boolean

true if event was handled and should not propagate to the active tool.

Defined in

Last Updated: 07 October, 2025