Divelements Community
Customer discussion of all Divelements products

SelectedTabChanged event?

Latest post 11-26-2007 21:45 by deathangel. 7 replies.
  • 08-25-2006 10:45

    • Karl
    • Top 200 Contributor
    • Joined on 08-07-2006
    • Posts 8

    SelectedTabChanged event?

    Tim,

    I can't find an event for detecting a change in the currently selected ribbon tab.
    There's no ribbon.SelectedTabChanged or ribbonTab.Activated event.


    The ribbon.Click event doesn't seem to be the one, because it also gets
    fired when for example the form close box is clicked.

    What's the correct way of responding to "active ribbon tab changed"?

    thanks,
    Karl
  • 08-25-2006 19:33 In reply to

    Re: SelectedTabChanged event?

    Why do you need to detect this?
  • 08-26-2006 10:37 In reply to

    • Karl
    • Top 200 Contributor
    • Joined on 08-07-2006
    • Posts 8

    Re: SelectedTabChanged event?

    Because I use the ribbon tabs in conjunction with "perspectives",
    and need to switch perspectives on TabChanged.

    Perspectives define a window layout within the docking
    container (the form's client panel, in my case), very much like
    in Eclipse

    Aside from that, I think a tab control should expose such
    an event anyway, because it might be of general interest
    (dynamically changing status bar contents, adjusting context
    sensitive help, etc).

    regards,
    Karl
  • 08-28-2006 4:55 In reply to

    Re: SelectedTabChanged event?

    I second this request.
  • 08-28-2006 14:31 In reply to

    Re: SelectedTabChanged event?

    It is done.
  • 08-29-2006 16:48 In reply to

    • Karl
    • Top 200 Contributor
    • Joined on 08-07-2006
    • Posts 8

    Re: SelectedTabChanged event?

    Thanks a lot :)

    Karl
  • 11-21-2007 17:38 In reply to

    • amo
    • Not Ranked
    • Joined on 11-21-2007
    • Posts 1

    Re: SelectedTabChanged event?

    Can I receive SelectedTabChanged event if Ribbon is minimize?
    Or other event when user click tab when Ribbon is minimized?
  • 11-26-2007 21:45 In reply to

    Re: SelectedTabChanged event?

    Second wholeheartedly...
    I had to disable ribbon minimizing because I was relying on the selected tab changed message, and not getting it when minimized.

    Yves
Page 1 of 1 (8 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems