can't get this to work. I want to change the width of a button in the dialog when it is pressed.
try(Destroydialog rlTest)catch()
rollout rlTest "test"
(
checkbutton ckbtnObjID "Obj ID" width:87 height:24 pos:[5,5]
button btnObjIDRandomAll "|" width:12 height:24 pos:[80,5] visible:off
on ckbtnObjID changed state do
(
if state == true then
(
rlRenderSetup.ckbtnObjID.width = 75
btnObjIDRandomAll.visible = on
)
else if state == false do
(
ckbtnObjID.width = 87
btnObjIDRandomAll.visible = off
)
)
)
createDialog rlTest 186 187
By JokerMartini · 2011-04-05
Graph · 2011-04-24