Wonder if someone can help me on this:
I want to activate 3 buttons when I click on a completely different button. I have different scrypts in each of the 3 buttons so when I click button 4 for example I want the other 3 buttons to perorm their scripts. Does anybody know the code i need to put into button 4 to activate the other 3 buttons?
Thanks
Daniel
Buttons
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
By "activate" do you mean they're currently disabled, or that you want to trigger them?
To enable them:
on mouseUp
enable btn "Button1"
end mouseUp
To trigger:
on mouseUp
send "mouseUp" to btn "Button1"
end mouseUp
or:
on mouseUp
click at the loc of btn "Button1"
end mouseUp
To enable them:
on mouseUp
enable btn "Button1"
end mouseUp
To trigger:
on mouseUp
send "mouseUp" to btn "Button1"
end mouseUp
or:
on mouseUp
click at the loc of btn "Button1"
end mouseUp
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn