PDA

View Full Version : Different state of a button


ghostlake114
06-07-2008, 03:21 AM
I am trying to make a button with different state, like this

http://i35.photobucket.com/albums/d152/ghostlake114/btt.jpg

So when press down it do a task, and then press again, it do another task. Like a toggle button

Thanks for any help

Polimeno
06-07-2008, 04:35 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

ghostlake114
06-07-2008, 04:45 AM
I will lookinto it

Thanks :D

CGTalk Moderation
06-07-2008, 04:45 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.