View Full Version : make a rollout expend . like the modify panel .
hblan 01-20-2007, 11:11 AM hi:
anybody tell me : how to make a rollout , and register it . then when drag it . the rollout can expend columns like the modify panel .
thanks .
|
|
jonlauf
01-22-2007, 04:35 PM
Is this what you are after?
rollout testA "test A"
(
button buttonA "button A"
)
rollout testB "test B"
(
button buttonB "button B"
)
testRollout = newRolloutFloater "Test Rollout" 200 120
addRollout testA testRollout
addRollout testB testRollout
cui.RegisterDialogBar testRollout
jonlauf
01-22-2007, 04:38 PM
Sorry just realized my code posted funny, Here it is again:
rollout testA "test A"
(
button buttonA "button A"
)
rollout testB "test B"
(
button buttonB "button B"
)
testRollout = newRolloutFloater "Test Rollout" 200 120
addRollout testA testRollout
addRollout testB testRollout
cui.RegisterDialogBar testRollout
--Jon
hblan
01-23-2007, 03:28 AM
but maybe my explaination is not clear.
again:
open max >> make a box >> convert to mesh >> select it >> go to modify panel or use max command : max modify mode >> now many rollouts like "selection" "soft selection" "edit geometry" ... in the sub rollout retangle . >> expand some of them >> drag the modify panel left margin , drag left >> the modify panel expended .to 2 column >> drag again >> 3 column appeared >> and u see , the rollout can jump to next column automaticly if it is too long for the first column ....
i want make a rollout jump like this . if i have a big rollout floater . or registered it to max . then dock to left . i want when i drag it . it can expend like this. the scripts in the sub rollout can jump to next column automaticly . just like what the modify panel do .
thanks .
but maybe my explaination is not clear.
again:
open max >> make a box >> convert to mesh >> select it >> go to modify panel or use max command : max modify mode >> now many rollouts like "selection" "soft selection" "edit geometry" ... in the sub rollout retangle . >> expand some of them >> drag the modify panel left margin , drag left >> the modify panel expended .to 2 column >> drag again >> 3 column appeared >> and u see , the rollout can jump to next column automaticly if it is too long for the first column ....
i want make a rollout jump like this . if i have a big rollout floater . or registered it to max . then dock to left . i want when i drag it . it can expend like this. the scripts in the sub rollout can jump to next column automaticly . just like what the modify panel do .
thanks .
Nope, this was custom-designed for the Command panel in Max 4. I remember we were asked which feature we would prefer - merging Atmospheric effects or expanding the Command panel. Everybody voted for the latter, and the crowd reaction at the "magma technology preview" at Siggraph in New Orleans was fantastic :)
You COULD possibly fake the same effect using a resizeable dialog and sub-rollouts though, but there is no built-in feature in MAXScript to get it automatically.
hblan
01-23-2007, 04:48 AM
ok . thanks . bobo.
now i make it in other way. button press to switch between a bigger rollout and a slim one .
thanks .
CGTalk Moderation
01-23-2007, 04:48 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.