Skip to content

Strange ContextMenu Behavior in TabControl and TabPages #1016

Description

@itg-assistant

Dmitry asked 2017-08-15 11:50:00 UTC

Dear WiseJ team,

Here is a test application with TabControl and 3 TabPages:

  • tabControl has a ContextMenu
  • tabPage1 does not have ContextMenu (ContextMenu=null)
  • tabPage2 has its own ContextMenu (not empty)
  • tabPage3 has its own ContextMenu (empty)

Finally I need ContextMenu just for right clicking on the tab, but not inside the tub.
As you see in example:

  • if tab has no ContextMenu - the tabControls ContextMenu is activated on right click
  • if tab has its own ContextMenu - its ContextMenu is activated on right click
  • if tab has empty ContextMenu - the strange empty rectangle is activated on right click

Could you check please this example and suggest the solution?

Kind regards,
Dmitry

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions