none
Disabling The Right-Click RRS feed

Answers

  • Hello,

    Use someTextBox.ContextMenu = New ContextMenu. Note that someTextBox.ShortcutsEnabled = False will kill the right-click and more. 

    In regards to ContextMenu, this works with a ComboBox also.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Thursday, June 27, 2019 6:06 PM
    Moderator