A little Levure-oriented question
J. Landman Gay
jacque at hyperactivesw.com
Thu Feb 22 00:20:05 EST 2018
I'm not a purist, I'd put the handler in the big green button. Especially
if it's short. There are no hard rules about this stuff.
I suppose I'll have to dodge flying fruit now.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 21, 2018 6:29:52 PM Graham Samuel via use-livecode
<use-livecode at lists.runrev.com> 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?
>
> Graham
>
>> On 21 Feb 2018, at 22:33, Bob Sneidar via use-livecode
>> <use-livecode at lists.runrev.com> wrote:
>>
>> The target.
>>
>> Bob S
>>
>>
>>> On Feb 21, 2018, at 10:58 , Graham Samuel via use-livecode
>>> <use-livecode at lists.runrev.com> wrote:
>>>
>>> But if there’s no code in the UI stack, how do the handlers in the SOS know
>>> what object has invoked them?
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list