Notifications
Clear all

[Closed] any rollout inside a new floater ?


        rollout test1 "Rollout 1" category:1
        (
        label test1 "...Move up/down.."
        )
        
        rollout test2 "Rollout 2" category:2
        (
        label test2 "...Move up/down..."
        )
       
       rollout test3 "Rollout 3" category:3
        (
        label test3 "...Move up/down..."
        )
       newFloatUi = newRolloutFloater " free Rollouts" 210 130
       addRollout test1 newFloatUi
        addRollout test2 newFloatUi
        addRollout test3 newFloatUi
        
  is that possible to make a function to manager any type of rollout inside a floater Ui ??

i want to get some functions like :

  • right click mouse actions with reset order,close all, expand all, back to original place

  • grab stand Ui like custom attributes, render tabs, etcs and put inside this floater.

      thanks
8 Replies

I dont get exactly what you want but is it the “SubRollout Class” as can be found in the maxscript help or do you want to include those random rollouts like light lister in one global one…?

many rollouts in standard Ui are easy to manipule the way you want…

so,
how to implement a floater Ui with some of these rollout functions ??

doesn’t it already?


rollout test_a "A" ( )
rollout test_b "B" ( )
rollout test_c "C" ( )
test = newRolloutFloater "Test" 200 600
addRollout test_a test
addRollout test_b test
addRollout test_c test

Right-click in one of the empty rollouts, and the options to open/close should be there.
Click-and-dragging a rollout header allows you to reposition as well.
Didn’t spot a ‘reset rollout order’ option given the above code, though (tried category: keyword, didn’t help)

that´s strange…

still lock and can´t re-ordering…but now right click works…

i don´t know what´s going on …

? oO ?

what 3ds Max version are you using?

Edit: Looks like re-ordering with the mouse only works in 2009 (nothing in the help about that being new). The right-click menu works as far back as 3ds Max 5, at least (again, without any ‘reset rollout order’ option)

MAX 9 (64bits)

any idea ?

Other than “sorry, re-ordering rollouts in a floater appears to be impossible pre-2009”… ‘fraid not
Could always add some widgets to re-order rollouts yourself… involves removing them and re-adding them in the new order and all that.

ok,
thanks !