[Closed] Dot NET tab rows
I’m trying to get my head around Dot NET tabs, and from the documentation I can’t see any way of having multiple rows of tabs. Does anyone know how to do it? Thanks!
DotNet Tab control tutorial here
http://paulneale.com/tutorials/dotNet/tabControl/tabControl.htm
Created by PEN Productions
That’s the one I’ve been following. It says nothing about tab rows, though.
Hi Rune,
Take a look at the Multiline property: http://msdn.microsoft.com/en-us/library/system.windows.forms.tabcontrol.multiline%28v=VS.80%29.aspx
I’m sorry I can’t supply a MAXScript code snippet but I hope you can understand the examples in this MSDN page.
Yannich, there you are again! Thanks!
It was as simple as setting tab.multiline = true just before I used tab.tabPages.add to create the tabs themselves.
I’ve built tabs today both with the rezn8 extension and with Dot NET. I have to say I prefer both the look (tab images!) and setup (fast!) of the rezn8 functions. It’s just a shame that the rezn8 extension doesn’t seem to work with automatic control layout and groups of UI controls
Yes I try to come back to 3ds Max development when I have time.
rezn8 tabs look is different because they use Win32 tabs control. .NET (or Qt ?) is the future of Max UI.
You’re talking about grouping and layout in a MAXScript rollout or with .NET ?
This attachment show the problems with the rezn8 extension (the window to the right), the auto-formatting is ruined, and the groups that keep rollout elements together are missing. That’s too bad, because I think that the rezn8 tabs are much more intuitive to use and has the same logic as the rest of maxscript. Also, I just think that the rezn8 tabs look nicer and cleaner, without the messy rollout integrated under the tabs. They can probably not do as much as the Dot NET tabs, but they are a lot easier to set up – and that always gets a win in my book. I wish they were integrated into max, just like the Avguard extensions…
And the rezn8 extension also features the coolButton element, which gives you coloured buttons in the UI (yey!).
I avoid dll extensions like the plague, as long as it’s possible.
One day you’re going to regret it, unless you can recompile it by yourself.