Hello,
I have an MDI form, using an ultraTabbedMdiManager, which opens different types of child form.
How can I sort MdiTab position using a custom order, ie: all FormA instances first, then FormB, ... ?
Also, how can I apply the same sort order to the MDIWindowListTool menu ?
TIA
Guillaume
Oh got it working, just put it in the Tabdisplayed event on the MDI manager and added a count check, so something like:
If UltraTabbedMdiManager1.TabGroups(0).Tabs.Count = 3 Then
UltraTabbedMdiManager1.TabGroups(0).Tabs(0).Reposition(UltraTabbedMdiManager1.TabGroups(0).Tabs(1), Infragistics.Win.UltraWinTabbedMdi.
MdiTabPosition.Next)
End If
Should help.
I am having the same issue, I found the property that I thought would do the task it but it don't work as it only ever shows 1 tab.
_MDIForm.UltraTabbedMdiManager1.TabGroups(0).Tabs(0).Reposition(_MDIForm.UltraTabbedMdiManager1.TabGroups(0).Tabs(1), UltraWinTabbedMdi.
MdiTabPosition.First)
Gives me an error of index out of range. Despite 3 child forms being opened on the MDI parent, only one entry exists in Tabgroups and tabs property.