Kermit
12-19-2007, 05:50 PM
hi all,
i want to open a floater by pressed button in AttributHolder modifier, the Floater is ok for open, but nothing behind. It's possible ? with an other method ? i don't understand because print return me "Rollout:ResR" thx for your help
example :
ca=custAttributes.getDef $.modifiers[1].MyCtrl
attributes MyCtrl
redefine:ca
(
parameters Res rollout:ResR
(
....................
)
rollout ResR "MyRollout" width:162 height:300
(
button btn1 "Button"
on btn_btn1 pressed do
(
openRoll()
)
)
fn openRoll =
(
MyFloatingRollout = newRolloutFloater "Test Floater" 800 800
addRollout this.ResR MyFloatingRollout
print this.ResR
)
)
i want to open a floater by pressed button in AttributHolder modifier, the Floater is ok for open, but nothing behind. It's possible ? with an other method ? i don't understand because print return me "Rollout:ResR" thx for your help
example :
ca=custAttributes.getDef $.modifiers[1].MyCtrl
attributes MyCtrl
redefine:ca
(
parameters Res rollout:ResR
(
....................
)
rollout ResR "MyRollout" width:162 height:300
(
button btn1 "Button"
on btn_btn1 pressed do
(
openRoll()
)
)
fn openRoll =
(
MyFloatingRollout = newRolloutFloater "Test Floater" 800 800
addRollout this.ResR MyFloatingRollout
print this.ResR
)
)
