I have a basic Powershell
form with a textbox
. When I right-click on the textbox
, a standard menu appears with copy, cut, paste etc...
My goal is to add a "clear log" option, that clears current textbox
content. How can I add this option to right-click menu instead of doing/drawing an actual separate button
?
Option will be enabled for this form only, I am not looking a general mouse-right-click solution from registry