Notifications
Clear all

[Closed] a problem with dialog in 3dsMax 2009

Hey guys I tried to writte a new maxscript, this time I wrotte in 3dsMax 2009 and I use createDialog method with sub dialog added in it…and here is my sample

rollout MiscBox “Misc.Box” width:90 height:220
(
subRollout MiscBoxSub “littleBox” pos:[0,0] width:90 height:220
)

rollout one “First rollout” width:90
(
button arch “arc 1”
button arch2 “arch 2”

on one rolledUp state do
(
if state == true then
(
MiscBox.height += 80
MiscBox.MiscBoxSub.height += 80
)
else
(
MiscBox.height -= 80
MiscBox.MiscBoxSub.height -= 80
)
)
)
rollout two “second rollout” width:90
(
button swing “get”
button swing2 “swing me”

on two rolledUp state do
(
if state == true then
(
MiscBox.height += 80
MiscBox.MiscBoxSub.height += 80
)
else
(
MiscBox.height -= 80
MiscBox.MiscBoxSub.height -= 80
)
)

)
createdialog MiscBox
addsubrollout MiscBox.MiscBoxSub one
addsubrollout MiscBox.MiscBoxSub two

the problem is when I execute the script and dialog come up , and I tried to rolled up the ” say it “ONE” roll out, its rolled up zig-zag not straight up down, this problem only happen when I use 3dsMax 2009 but not in 3dsMax 9 or earlier…so how to solve this problem ?

Thank.