View Full Version : maxscript control question
xenry 06-18-2007, 12:28 PM hi there
is this kind of control available through maxscript:
http://xs216.xs.to/xs216/07251/contol.jpg
I mean a scrollable kind of listbox that holds interface items
|
|
Zbuffer
06-18-2007, 01:26 PM
Hi,
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.
davestewart
06-18-2007, 03: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
Zbuffer
06-18-2007, 03: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...
xenry
06-18-2007, 04:31 PM
thanks guys, will have to think on that =)
Have a look at what Kees has done with MorphX2 here: http://www.lumonix.net/ He is using a few things to fake the setup which is what I think is happening in the Max morpher anyway.
Wahooney
06-19-2007, 08: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-19-2007, 08: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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.