I'm using your UltraToolbarsManager (with Ribbon) in my application and was wondering how you determine what Tab the user has clicked. I do not find an event that would process that functionality. Or a property to set.
Have I just missed it completely?
Thanks ahead of time.
Patrick
You could probably use either the BeforeRibbonTabSelected event or the AfterRibbonTabSelected event.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.Win.UltraWinToolbars.v8.2~Infragistics.Win.UltraWinToolbars.UltraToolbarsManager_members.html#EventsBookmark
I've tried this and it does not seem to work correctly.
First, I have an MDI app with several child forms. When I load this particular child form those two events do fire off, but when I try clicking a Tab after the form loads they do not fire off. Whats up?
Thanks,
Is there a reason for the extra processing you are doing in OnMdiChildActivate (select a specific tab?)? Do you still have the issue when you comment out the code in this event?
This is the code Infragistics suggested to use when you want your main tab for a child for to be focused when the Child form is loaded and/or
set focus too.
If I comment the code out I get the same results!
I believe this is a bug, can you confirm.
PR
The code you are using is correct to select a child's tab right after it is merged into the parent. As for the BeforeRibbonTabSelected and AfterRibbonTabSelected events, they should be fired on the parent manager when the user clicks a tab. If they are not being fired on the parent toolbars manager, it is a bug and I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp.
OK. I upgraded to ver 8.2 of your product and I still experience the same results when clicking a tab of a child form.
When the form first loads, both "AfterRibbonTabSelected" and "BeforeRibbonTabSelected" events fire off.
But when I click on any of the other tabs after that, even with ver 8.2 I still experience the same results ( does not fire off the above events)
Your Mr. Kim indicated that it worked for him, what have we done different?
I created a new MDI project (using the new ver 8.2) with almost no code and experienced the same thing. Did not fire off the expected event
after the form loaded.
HELP!
I cannot tell from the description what the problem is. I would recommend submitting your new MDI project which has the problem to the support group so the problem can be investigated.