Hello, I am having a bit of a weird issue. It seems the mouse down event / context menu only fires when I click the the border line of the control but not the inside of the control. When I click the inside of the control I get the default windows right click menu. Is there a way to fix this?
Private Sub txtHomePath_MouseDown(sender As Object, e As MouseEventArgs) Handles txtHomePath.MouseDown
If e.Button = MouseButtons.Right Then
Dim c As New RadDropDownMenu
c.BeginInit()
c.ThemeName = Me.ThemeName
Dim item As New RadMenuItem("Delete Folder") With {.Image = My.Resources.folder_delete_fatcow.GetThumbnailImage(16, 16, Nothing, Nothing)}
AddHandler item.Click, AddressOf DeleteFolder
c.Items.Add(item)
c.EndInit()
c.Show(Control.MousePosition)
End If
End Sub