Blue
03-08-2006, 04:55 PM
Pickbuttons can have tooltips assigned at creation, but aparently can not have them changed dynamically at runtime. Looks to be a bug in 7, I don't have my seat of 8 here with me can anyone verify that it works or fails in 8?
rollout ROLL "pickbutton tooltip test" width:250 height:50
(
pickbutton PBTN "Pick" pos:[25,5] width:200 height:20 toolTip:"Tooltip"
on PBTN picked obj do
(
if obj != undefined do
(
PBTN.text = obj.name
PBTN.toolTip = obj.name
)
)
)
createdialog ROLL
rollout ROLL "pickbutton tooltip test" width:250 height:50
(
pickbutton PBTN "Pick" pos:[25,5] width:200 height:20 toolTip:"Tooltip"
on PBTN picked obj do
(
if obj != undefined do
(
PBTN.text = obj.name
PBTN.toolTip = obj.name
)
)
)
createdialog ROLL
