I need to set the Width (or the Height) of a new MdiTab / MdiTabGroup from my code.
How can I dot this?
I've tried setting the Width/Height of the contained form, but it doesent works.
Thanks, Max
On individual MdiTab instances, you can set the Settings.TabWidth property. You can also set the TabWidth property on the UltraTabbedMdiManager.TabSettings or on an MdiTabGroup.TabSetting to apply to all tabs or all tabs in a group.
To set the tab height on an MdiTabGroup, you can set the group's Settings.TabHeight property. You can also set the TabHeight property on the UltraTabbedMdiManager.TabGroupSettings to apply to all tabs.
Thank you.
Maybe this information will come useful in future.
For now I've solved using a different, and simpler/better, approach.My need to resize an MdiTab come from some functions I've built to show 2 pair of mdiTab, containing a master and a child form, and to hide the child form when it's master form it's not visible.
But I found that it's easier to simply show the whole child form into a pnel, inside the master form. Using this approach I have better control over the interaction between master and child form :-)
Thank you anyway :-)