View Full Version : maxscript control question

06 June 2007, 11:28 AM
hi there

is this kind of control available through maxscript:

I mean a scrollable kind of listbox that holds interface items

06 June 2007, 12:26 PM

Unfortunately, no, there is not...
You would have to build a custom treeview/listview control using activeX or DotNet
I would be more than interested if such control would exist, or if anyone could provide any hints.

06 June 2007, 02:07 PM
Subrollouts, anyone?

rollout ro1 "Rollout" height:200
subrollout sro1 "sub rollout" height:180

rollout sro1 "sub rollout" height:200
button btn1 "press Me!" height:100 width:100
button btn2 "press Me!" height:100 width:100

createdialog ro1
AddSubRollout ro1.sro1 sro1

06 June 2007, 02:45 PM
Well subrollouts have their own titlebar...
which can use a lot of space if you have 10 rows...
But I admit it can be a workaround...

06 June 2007, 03:31 PM
thanks guys, will have to think on that =)

06 June 2007, 08:12 PM
Have a look at what Kees has done with MorphX2 here: He is using a few things to fake the setup which is what I think is happening in the Max morpher anyway.

06 June 2007, 07:40 AM
The Multi/Sub-Material dialog is actually just a couple of buttons and checkboxes, etc. with some and a floating scroll bar. It cunningly reallocates the buttons, etc. to different materials in the array based on the current scroll value, hiding any controls > the number of materials. As far as I know you can't create a scroll bar in ActiveX, but I'm quite sure that it would be possible in .NET.

I hope this clarifies things a little.

CGTalk Moderation
06 June 2007, 07:40 AM
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.