Where can I see an example of a behavior button that works?
I can't get mine to work.
Behaviors
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Behaviors
Hi maxs,
Check the script of btn Follower
Nuthin in it right, but an empty on mouseUp
But press it.
Now change the answer in btn Leader
What happens now when you press btn Follower?
In the inspector of btn Follower check out the behavior box.
Simon
Check the script of btn Follower
Nuthin in it right, but an empty on mouseUp
But press it.
Now change the answer in btn Leader
What happens now when you press btn Follower?
In the inspector of btn Follower check out the behavior box.
Simon
- Attachments
-
- leadIt.zip
- LC 6.6.1
- (494 Bytes) Downloaded 169 times
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Behaviors
Hurray
It works. Thanks Simon.
It works. Thanks Simon.
Re: Behaviors
Hi maxs,
It gets way crazier then the example I posted.
Button Leader can have it's behavior set to another btn, and they all follow the... ummm leaders leader.
And btn Leader can be applied to other controls.
Simon
It gets way crazier then the example I posted.
Button Leader can have it's behavior set to another btn, and they all follow the... ummm leaders leader.
And btn Leader can be applied to other controls.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Behaviors
...and you can reassign behaviors at runtime if you need to.
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