Re: Basic question about behaviors

2020-08-26 Thread William Prothero via use-livecode
Thanks, Paul. That worked. Bill William A. Prothero https://earthlearningsolutions.org > On Aug 25, 2020, at 8:03 PM, Paul Hibbert via use-livecode > wrote: > > Bill, try this in the behaviour button script: > > on mouseUp > put the long name of this me into theName —theName will contain

Re: Basic question about behaviors

2020-08-26 Thread Keith Clarke via use-livecode
Certainly best to avoid any made backwards. > On 26 Aug 2020, at 15:20, Martin Koob via use-livecode > wrote: > > Is there a rule regarding puns? > > Martin > >> On Aug 26, 2020, at 9:30 AM, Paul Pystcat via use-livecode >> wrote: >> >> ROFL >> >> THAT was gouda! >> >> (I know, I know!

Re: Basic question about behaviors

2020-08-26 Thread Devin Asay via use-livecode
Only cheese puns. > On Aug 26, 2020, at 8:20 AM, Martin Koob via use-livecode > wrote: > > Is there a rule regarding puns? > > Martin > >> On Aug 26, 2020, at 9:30 AM, Paul Pystcat via use-livecode >> wrote: >> >> ROFL >> >> THAT was gouda! >> >> (I know, I know! I broke one of the

Re: Basic question about behaviors

2020-08-26 Thread Martin Koob via use-livecode
Is there a rule regarding puns? Martin > On Aug 26, 2020, at 9:30 AM, Paul Pystcat via use-livecode > wrote: > > ROFL > > THAT was gouda! > > (I know, I know! I broke one of the rules… no politics, no religion and no > cheese) > >> On Aug 26, 2020, at 9:09 AM, Mike Kerner via

Re: Basic question about behaviors

2020-08-26 Thread Paul Pystcat via use-livecode
ROFL THAT was gouda! (I know, I know! I broke one of the rules… no politics, no religion and no cheese) > On Aug 26, 2020, at 9:09 AM, Mike Kerner via use-livecode > wrote: > > On Tue, Aug 25, 2020 at 12:41 PM Sean Cole (Pi) via use-livecode < > use-livecode@lists.runrev.com> wrote: > >>

Re: Basic question about behaviors

2020-08-26 Thread Mike Kerner via use-livecode
On Tue, Aug 25, 2020 at 12:41 PM Sean Cole (Pi) via use-livecode < use-livecode@lists.runrev.com> wrote: > I LOVE 'this me'. This extraordinary use of coding language is truly where > LC shines and why I love it so much, - sometimes. [sigh] > > Sean > and that's why your fonts break - because

Re: Basic question about behaviors

2020-08-25 Thread Paul Hibbert via use-livecode
Bill, try this in the behaviour button script: on mouseUp put the long name of this me into theName —theName will contain the long name of the behaviour button. end mouseUp put this me into theName - would put the value contained in the text property of the behaviour button into theName. In

Re: Basic question about behaviors

2020-08-25 Thread Bob Sneidar via use-livecode
This Me only works in the behavior script, not the button script. Not sure if that helps. Bob S On Aug 25, 2020, at 3:48 PM, William Prothero via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: I assumed the script would be: on mouseUp put this me into theName —theName is

Re: Basic question about behaviors

2020-08-25 Thread William Prothero via use-livecode
I assumed the script would be: on mouseUp put this me into theName —theName is blank. end mouseUP However, it gave me a blank. I found that this works, though. on mouseUP put the exectionContext into theName end mouseUp Thanks, Bill William A. Prothero

Re: Basic question about behaviors

2020-08-25 Thread Sean Cole (Pi) via use-livecode
I LOVE 'this me'. This extraordinary use of coding language is truly where LC shines and why I love it so much, - sometimes. [sigh] Sean ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Basic question about behaviors

2020-08-25 Thread Bob Sneidar via use-livecode
Try the execution contexts. And yes, this me will return the behavior object itself. Bob S On Aug 24, 2020, at 8:18 PM, prothero--- via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: I have assigned a behavior to a button. The behavior button/source is on a different stack. It

Re: Basic question about behaviors

2020-08-25 Thread Mike Kerner via use-livecode
i like "this me" less and less every time i read it. On Mon, Aug 24, 2020 at 11:30 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > Wouldn’t it just be “me”? And “this me” should be the behavior object. > > Sent from my iPhone > > > On Aug 24, 2020, at 11:19 PM,

Re: Basic question about behaviors

2020-08-24 Thread Brian Milby via use-livecode
Wouldn’t it just be “me”? And “this me” should be the behavior object. Sent from my iPhone > On Aug 24, 2020, at 11:19 PM, prothero--- via use-livecode > wrote: > > I have assigned a behavior to a button. The behavior button/source is on a > different stack. It works fine. But a click on a