Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Move to previous/next tabgroup

Last post 06-03-2008 15:58 by [Infragistics] Mike Dour. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-30-2008 4:33

    Move to previous/next tabgroup

    I need to integrate the move to previous tabgroup and move to next tabgroup in a menu

    When I right click a tab I can see move to previous or move to next or both depending on certain conditions. How can I see if in a certain tabgroup I need to show move to previous or move to next or both, what are the conditions and how can I retrieve those conditions

    • Post Points: 20
  • 05-30-2008 10:04 In reply to

    Re: Move to previous/next tabgroup

    It looks like the processing to determine whether to show these menu items is very involved. I would recommend you handle the InitializeContextMenu event of the UltraTabbedMdiManager. Examine the menu items in the ContextMenu on the event args to know whether those items were added, then set Cancel to True so the default menu is not shown.

    • Post Points: 20
  • 06-03-2008 15:36 In reply to

    • parez81
    • Top 500 Contributor
    • Joined on 04-01-2008
    • Points 210

    Re: Move to previous/next tabgroup

     I am trying to remove the  context menu when you click the tab buttons (Close & Move to previous tab group).

     How do go about it.

    • Post Points: 20
  • 06-03-2008 15:58 In reply to

    Re: Move to previous/next tabgroup

    You can set the Settings.AllowClose on an MdiTab to False to prevent the Close menu item from appearing in the context menu. To remove the Move to previous and move to next menu items, you would need to handle the InitializeContextMenu event on the toolbars menu and manually remove them from the MenuItems collection of the context menu on the event args.

    • Post Points: 5
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems