Re: Apple Events Manager Process?

2019-09-16 Thread Tom Benedict via 4D_Tech
Thanks for the followup! There is a On System Event database method, but it doesn’t do anything: C_LONGINT($1) Case of : ($1=On application background move) //Do something : ($1=On application foreground move) //Do something else End case

Re: Apple Events Manager Process?

2019-09-16 Thread Keisuke Miyako via 4D_Tech
the "Apple" in "Apple Event Manager" has no correlation to the platform operation system. it could be interpreted more generically as the system event manager. if you see this process popping up, check your On System Event database method; if a blank method exists, delete it completely. if you

Re: Shared objects and collections

2019-09-16 Thread Keisuke Miyako via 4D_Tech
you can grow a collection implicitly using bracket notation. quote: If this element index is beyond the last existing element of the collection, the collection is automatically resized and all new intermediary elements get the null value

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Narinder Chandi via 4D_Tech
Indeed. This prompts to relay a quick anecdote - I worked on a 4D system originally developed by Aparajita more than 22 years ago for an investment bank. It used a plug-in that was probably little known at the time - ObjectTools. Aparajita's always been far, far ahead of the curve. That 4D

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Kirk Brooks via 4D_Tech
Well gee, what does Aparajita know about object oriented stuff? 樂 Nicely put. On Mon, Sep 16, 2019 at 1:23 PM Aparajita Fishman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > Well my recommendation is not to use New formula ever. > > Translation: “I’m not sure I can use them properly, therefore

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Peter Jakobsson via 4D_Tech
rofl ! That was a very inspiring post. Ok I think thats pushed me over the edge. OO 4D here I come. > On 16 Sep 2019, at 22:23, Aparajita Fishman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Well my recommendation is not to use New formula ever. > > Translation: “I’m not sure I can use

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Aparajita Fishman via 4D_Tech
> Well my recommendation is not to use New formula ever. Translation: “I’m not sure I can use them properly, therefore no one should.”  > Even with properly > encapsulated code structured in a way that makes sense, it's still > impossible to get the context, source, or whether or not the

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Peter Jakobsson via 4D_Tech
Fascinating stuff Kirk. Thanks for posting. Peter > On 16 Sep 2019, at 17:10, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Not everyone is a fan and there are some good arguments to be made ** 4D Internet

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Kirk Brooks via 4D_Tech
Peter, On Mon, Sep 16, 2019 at 1:58 AM Peter Jakobsson via 4D_Tech < 4d_tech@lists.4d.com> wrote: > The key is the new “This” self-referencing function because it now lets > you create an active object as a class. It does. > I realise OO purists may not regard it as a class, They do not. >

Re: 4D authentication system that allow for stronger security.

2019-09-16 Thread Jody Bevan via 4D_Tech
Eric: To get what you have outlined (and much more) you just build your own within 4D. We had to have a very modern password system in our software since before 2000. We have built our new shell with all of the password control in it. The nice thing is that the System Administrator gets to

More on 4D Objects and 'Inheritance'

2019-09-16 Thread Peter Jakobsson via 4D_Tech
Hi Just expanding on that last thread, (“Why does this not work") there do appear to be some real object orientation aspects to the new 4D commands - at least from the point of view of what’s needed and useful in a high level environment like 4D. The key is the new “This” self-referencing

Re: SQL Connection to External SQL DB

2019-09-16 Thread Tarawerkz via 4D_Tech
Hi Tom, ….and a word of thanks too for your reply and the tip ! Regards, Ronnie Tarawerkz > On 16 Sep 2019, at 4:34 PM, Tarawerkz wrote: > > Hi Tom, > > The current 4D version at the client’s site is v15. > Through the various versions of upgrade from v11 to 13 to 15, there has not >

Re: SQL Connection to External SQL DB

2019-09-16 Thread Tarawerkz via 4D_Tech
Hi Tom, The current 4D version at the client’s site is v15. Through the various versions of upgrade from v11 to 13 to 15, there has not been an issue with the SQL connection. I suspect it could be some GPOs that were pushed down….so the subsequent investigation are narrowing down to that.

Re: SQL Connection to External SQL DB

2019-09-16 Thread Tom Benedict via 4D_Tech
Hi Ronnie, My suspicion is that something around SSL on the external DB has changed. Perhaps your app uses a version of 4D which supports TLS 1.0 and the external DB was changed to use TLS 1.2? Or maybe the other way around? Just a guess. Here’s 4D Tech Tip which can help determine what