Re: Before and after Livecode

2015-07-19 Thread Dr. Hawkins
On Sat, Jul 18, 2015 at 4:45 PM, Robert Brenstein wrote: > Indeed. I wonder whether before/after could be used to populate > popup/pulldown lists in buttons dynamically (upon mouse click) or store > field selection before it looses focus. > > For saving valuesNot following the advantage here – it

Re: Before and after Livecode

2015-07-19 Thread David Bovill
Oh wow - it get's better. Say you have a handler - that processes some information from a request and then sends out a response. In my case the server bundles useful stuff into a requestArray, and after it has been routed a handler processes it and sends back a reply to the browser. The handler lo

Re: Before and after Livecode

2015-07-19 Thread Dave Kilroy
"The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Before-and-after-Livecode-tp4694048p4694068.html Sent from the Revolution - User mailing list archive at Nabble.com

Re: Before and after Livecode

2015-07-18 Thread Mark Wieder
On 07/18/2015 12:28 PM, David Bovill wrote: Now with before / after handlers - no logging code in the server - it's so clean and simple it is gorgeous. When I want logging I add the behavior which includes all the efore / after handlers that havve acess to all the data and just do the logging. W

Re: Before and after Livecode

2015-07-18 Thread Robert Brenstein
On 18.07.2015 at 20:28 Uhr +0100 David Bovill apparently wrote: Now with before / after handlers - no logging code in the server - it's so clean and simple it is gorgeous. When I want logging I add the behavior which includes all the efore / after handlers that havve acess to all the data and ju

Re: Before and after Livecode

2015-07-18 Thread David Bovill
u are right. > > Richmond. > >> >> >> - >> "The difference between genius and stupidity is; genius has its limits." >> - Albert Einstein >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Befo

Re: Before and after Livecode

2015-07-18 Thread Richmond
d yes they are interesting...) I'm sure you are right. Richmond. - "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Before-and-after-Livecode-tp46940

Re: Before and after Livecode

2015-07-18 Thread Dave Kilroy
"The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Before-and-after-Livecode-tp4694048p4694053.html Sent from the Revolution - User mailing list archive at Nabble.co

Re: Before and after Livecode

2015-07-18 Thread Richmond
On 18/07/15 09:47, David Bovill wrote: Has anyone been using the "before" and "after" handlers in Livecode? If so what for? I'm very impressed with them. Together with chain-able behaviors I this we have some great opportunities for code collaboration without the usual name space collisions you

Before and after Livecode

2015-07-17 Thread David Bovill
Has anyone been using the "before" and "after" handlers in Livecode? If so what for? I'm very impressed with them. Together with chain-able behaviors I this we have some great opportunities for code collaboration without the usual name space collisions you get with global libraries. If anyone has