PDA

View Full Version : How to hide a rollout header in a subrollout


mak83
02-27-2009, 12:19 PM
I have a subRollout control which contains one or more rollouts. Is there any way to hide the header of the rollouts that are contained in the subRollout? With "header" I mean the bar that can be used to collapse or expand the rollout.

A little screenshot to demonstrate what I mean:

http://img16.imageshack.us/img16/8679/hiderolloutheader.png

I would like to hide the marked header so that only the content of the rollout (in this case the "Test"-group with the "General properties" label) is displayed.

Is there any way to realize this?

Unfortunately I cannot avoid using subRollouts because I'm creating a dialog with a dotNet TabControl and as far as I know this is the easiest way to dynamically add and remove rollouts to the dialog (by adding and removing them to the subRollout).

thx
M.

PEN
02-27-2009, 12:23 PM
There isn't a way to hide the title bar, you could jump through some hoops and dynamically generate the whole UI each time. A real pain how ever but possible. I would just stick with the rollouts.

mak83
02-27-2009, 01:30 PM
There isn't a way to hide the title bar, you could jump through some hoops and dynamically generate the whole UI each time. A real pain how ever but possible. I would just stick with the rollouts.

First of all, thanks for the quick reply. Though it's sad to hear that it isn't possible to hide the title in subRollouts. Sticking with the rollout titles is no option for me because I want to create a dialog that looks like the 3ds Max Preference Dialog:

http://img16.imageshack.us/img16/8231/pref.png

But I don't know how to create such a thing without subRollouts.
I would appreciate any hints on this.

thx
M.

PEN
02-27-2009, 01:35 PM
Well the next solution would be to go entirely with dotNet so that you can completely for go rollouts and the limitations of the Max script UI structures.

mak83
02-27-2009, 01:54 PM
Well the next solution would be to go entirely with dotNet so that you can completely for go rollouts and the limitations of the Max script UI structures.

Ok, thanks. I suppose you're right. Seems I have to learn some dotNet ;)

PEN
02-27-2009, 02:35 PM
I have some help on my site for UI items and there are links there to other peoples sites that will help you to get dialogs working and other elements of dotNet that you will need.

mak83
02-27-2009, 02:58 PM
I have some help on my site for UI items and there are links there to other peoples sites that will help you to get dialogs working and other elements of dotNet that you will need.

That's great - thanks alot. I'll surely take a look at it!

CGTalk Moderation
02-27-2009, 02:58 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.