none
How Do I hide HScrollBar1 ContextMenu RRS feed

  • Question

  • Hi everybody,

    I tried couple of thing and still unable to accomplish that.

    I want to hide/disable HScrollBar1 ContextMenu.

    Friday, March 3, 2017 4:24 PM

Answers

  • Maybe give it an empty ContextMenuStrip?....

        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
            HScrollBar1.ContextMenuStrip = New ContextMenuStrip
        End Sub

    • Marked as answer by LetMeCode Friday, March 3, 2017 5:13 PM
    Friday, March 3, 2017 5:06 PM

All replies

  • Maybe give it an empty ContextMenuStrip?....

        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
            HScrollBar1.ContextMenuStrip = New ContextMenuStrip
        End Sub

    • Marked as answer by LetMeCode Friday, March 3, 2017 5:13 PM
    Friday, March 3, 2017 5:06 PM
  • Works great;

    Thanks.

    Friday, March 3, 2017 5:14 PM