Notifications
Clear all
[Closed] Different state of a button
Jun 07, 2008 3:21 am
I am trying to make a button with different state, like this
So when press down it do a task, and then press again, it do another task. Like a toggle button
Thanks for any help
2 Replies
Jun 07, 2008 3:21 am
from HELP :
rollout test "Test"
(
checkbutton chk_test "Check Me!" tooltip:"This is a tooltip"
on chk_test changed state do
chk_test.tooltip = if state then "I am checked!" else "I am unchecked!"
)
createDialog test