Notifications
Clear all

[Closed] Different state of a button

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

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

I will lookinto it

Thanks