If you watch Trevor's youtube videos you will see he makes allowance for this.
No need to behaviorize a script that will never change, and only applies to one
object. You could, but no one says you have to. In fact, if you don't have a
need for versioning, don't use a foreign text editor, don't share common code
between multiple objects, and don't need the features a git repository can give
you, then you don't need behaviors. I didn't start using them until I got tired
of editing code in identical buttons in 15 different modules every time I had
to change something. I don't particularly need Levure either for most of what
it does, but I really like Sublime Text, and would like to use that if I could.
> On Feb 21, 2018, at 16:27 , Graham Samuel via use-livecode
> <firstname.lastname@example.org> wrote:
> It’s very late here, so a brief reply to a brief reply. I know about ‘the
> target’. Believe it or not I also know about behaviours and can use them. But
> if I have a Big Green Button in my UI, I want a handler which does something
> if and only if the Big Green Button is clicked on. Obviously in my SOS I can
> have some ‘universal’ code that says something like
> if the target is “bigGreenButton” then
> do something related only to this particular object
> But isn’t that just making the whole thing more complicated than it need be?
> Maybe I will understand this clearly in the morning - who knows?
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription