Hi,
Is there a way to add a tab to the end of a tab group and not have it selected by default?
Thanks,
Bill
Hi huntbill,
Can you tell me a bit more about the behavior that you are trying to achieve? Are you referring to the tab group of the UltraMdiTabbedManager or the Ribbon of the UltraToolbarsManager?
If possible, please provide a mock-up or screenshot that I may reference for further context.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
Hi Chris,
UltraMdiTabbedManager - when a tab is added it is automatically selected. I'd like to disable this behavior. I have a UltraMdiTabbedManager with several tabs, the user does something which causes a new tab to be added. I do not want this tab to be selected until the user clicks on the new tab. I worked around it by saving the selected tab before adding the tab and then putting it back. I also call SendToBack on the form for the new tab. This pushes the new tab to the back of the Z order. Seems like a lot of work for something so simple but at least i have it working.
It's a shame that the regular tab control is missing the tab grouping functionality of the UltraMdiTabbedManager, if it had it we could abandon the UltraMdiTabbedManager all together. This would save all the resources being wasted by showing forms instead of regular controls.
After further investigation, I have determined that the behavior of maintaining the tab selection when initializing new tabs with the UltraMdiTabbedManager would in fact require a custom approach as you have described and is not yet supported by default from the this component.
Also, even though the grouping of tabs is not yet supported by the UltraTabControl, an approximate behavior can in fact be achieved, also by implementing a custom logic. This behavior was mentioned in a separate forum thread which details both a video of the achieved behavior as well as a sample project for further context, a link to which I have provided below, for reference.
http://ko.infragistics.com/community/forums/p/69244/350619.aspx
In the meantime, I have submitted separate product ideas for both UltraMdiTabbedManager as well as the UltraTabControl to have these behaviors considered for development and inclusion in a future release(s).
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.