Notifications
Clear all
[Closed] how to add rightclick event to dotnet button?
Dec 03, 2009 6:51 am
how to add rightclick event to dotnet button?
if Eliminate this way
MouseUp event handler
2 Replies
Dec 03, 2009 6:51 am
(
fn _rightClick sender args =
(
case args.button of
(
(args.button.Right): format "RightClicked
"
(args.button.Left): format "LeftClicked
"
(args.button.Middle): format "MiddleClicked
"
)
)
form = dotNetObject "MaxCustomControls.MaxForm"
dotNet.addEventHandler form "MouseClick" _rightClick
form.showmodeless()
)