两种方式效果一样。基于控件操作。
on spnNbPts changed val do
(
btnCreate.caption = "Break in " + ((val ^ spnNbIter.value) as string) ----按钮控件名字可好
-- print btnCreate.text
)
(
btnCreate.caption = "Break in " + ((val ^ spnNbIter.value) as string) ----按钮控件名字可好
-- print btnCreate.text
)