4D v17 R5 file and folder objects !!!

2019-04-23 Thread Bruno LEGAY via 4D_Tech
Hi, I just noticed in 4D v17 R5 the new file and folder objets... https://doc.4d.com/4Dv17R5/4D/17-R5/File-and-Folder.201-4282207.en.html This is great ! I won't miss trying to explain/justify to new 4D developers why a document reference is a TIME variable... Bruno LEGAY A&C Consulting

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Douglas von Roeder via 4D_Tech
Jeff: Well, I appreciate you doing the sleuthing and it does appear that this feature has had a checkered history in OS X. One of the options was to use the setting from System Prefs. I wasn't familiar with that so I did some Goolging and, from what I was able to find, there was a feature in macO

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Jeffrey Kain via 4D_Tech
It’s a strange setting. I couldn’t find it either and ended up posting a question too. So bizarre! > On Apr 23, 2019, at 10:57 PM, Douglas von Roeder wrote: > > Jeffrey: > > You mean the one labeled “Window tabbing (macOS only)”? :-) > > I simply did not see it. *

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Douglas von Roeder via 4D_Tech
Jeffrey: You mean the one labeled “Window tabbing (macOS only)”? :-) I simply did not see it. And it’s under General because it impacts (at least) methods as well as forms. Many thanks. (Chip breathes a sigh of relief.) -- Douglas von Roeder 949-336-2902 On Tue, Apr 23, 2019 at 7:47 PM Jef

Re: Listbox data type

2019-04-23 Thread Chip Scheide via 4D_Tech
that is what I thought I have a system I am getting ready to merge with engine. I was testing, compiled, one function (a search function) which tests for which type of listbox I am working with. ex: if (type ($Listbox_ptr->) = is longint) do whatever but the search was not working - it w

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Jeffrey Kain via 4D_Tech
It is (was) in the first tab. > On Apr 23, 2019, at 6:18 PM, Douglas von Roeder wrote: > > Jeff: > > That’s what I was expecting but I don’t see a setting that allows me to shut > it off. > > Which “tab” would it be under? **

Subject: Re: 4D Security White Paper

2019-04-23 Thread Ronnie Teo via 4D_Tech
Hi, thanks to all for heads-up. Will catch up on the reading ….. Regards, Ronnie Tarawerkz ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Uns

Re: Custom Form Events

2019-04-23 Thread Justin Carr via 4D_Tech
Hi Chris We use SET TIMER(-1) a lot for this purpose. It is ideal when you want to do something as part of On Load but you need the On Load execution cycle to finish first before you do the next thing, e.g. you need to know the size and position of an object on a form before you take some other

Re: Listbox data type

2019-04-23 Thread Charles Miller via 4D_Tech
Depends for array list box it is a Boolean array for selection it is a long int On Tue, Apr 23, 2019 at 6:50 PM Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > What is the data type of a selection listbox? > longint, right?? > --- > Gas is for washing parts > Alcohol is for

Listbox data type

2019-04-23 Thread Chip Scheide via 4D_Tech
What is the data type of a selection listbox? longint, right?? --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Chip Scheide via 4D_Tech
That would be a nightmare for me! Chip On Tue, 23 Apr 2019 15:03:02 -0700, Douglas von Roeder via 4D_Tech wrote: > Using V17R3 64-bit on the Mac and methods are opening in the main window. > > Is there a was to change this behavior? > > -- > Douglas von Roeder > 949-336-2902 > *

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Douglas von Roeder via 4D_Tech
Jeff: That’s what I was expecting but I don’t see a setting that allows me to shut it off. Which “tab” would it be under? -- Douglas von Roeder 949-336-2902 On Tue, Apr 23, 2019 at 3:08 PM Jeffrey Kain via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Use tabbed windows setting in 4D prefs? > > >

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Jeffrey Kain via 4D_Tech
Use tabbed windows setting in 4D prefs? > On Apr 23, 2019, at 6:03 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Using V17R3 64-bit on the Mac and methods are opening in the main window. > > Is there a was to change this behavior? ***

Setting to not Open Methods into One Window

2019-04-23 Thread Douglas von Roeder via 4D_Tech
Using V17R3 64-bit on the Mac and methods are opening in the main window. Is there a was to change this behavior? -- Douglas von Roeder 949-336-2902 ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html

Re: Custom Form Events

2019-04-23 Thread Kirk Brooks via 4D_Tech
Chris, Reading through your post and the replies I'm trying to think of what a 'custom event' would be. Can you give an example or two? On Tue, Apr 23, 2019 at 7:33 AM Chris Belanger via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I am wondering if there is a way to configure Custom Form Events. I w

Re: Custom Form Events

2019-04-23 Thread Douglas von Roeder via 4D_Tech
Chris: IIRC, it was Olivier DesChanels who published that. You might drop him a line - he’s on the Forum. -- Douglas von Roeder 949-336-2902 On Tue, Apr 23, 2019 at 8:40 AM Douglas von Roeder wrote: > Chris: > Could well be Set timer(-1) - that was on the 4D forum a few years back. I > haven’

Re: 4D Security White Paper

2019-04-23 Thread John J Foster via 4D_Tech
Hey Ronnie, Along with what others have posted take a look at these links on 4DBlog on 4D v17 and the first one is a post of a new data encryption feature: https://blog.4d.com/get-started-with-encryption-in-4d/ and there is an older one

Problem on the Resources data table

2019-04-23 Thread John J Foster via 4D_Tech
Hi All, I’ve seen this error listed in the NUG once by Bob McKeever and there were no responses to it. So... I am currently running on Macintosh 4D v17 R4 trying too create a clean structure - one that I have been working on for many weeks (many changes over a structure that started life in 80

Re: Custom Form Events

2019-04-23 Thread Douglas von Roeder via 4D_Tech
Chris: Could well be Set timer(-1) - that was on the 4D forum a few years back. I haven’t tried approach, personally. -- Douglas von Roeder 949-336-2902 On Tue, Apr 23, 2019 at 8:24 AM Chris Belanger via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Douglas, that is an ingenious way to facilitate it

Re: 4D Security White Paper

2019-04-23 Thread Tim Nevels via 4D_Tech
On Apr 23, 2019, at 10:24 AM, Ronnie Teo wrote: > Does anyone know if 4D have published any white papers relating to security > specifically for 4D versions v15 and v17? > For example, my client would like to know what is the database encryption > strength level like for the above mentioned vers

Re: Custom Form Events

2019-04-23 Thread Chris Belanger via 4D_Tech
Douglas, that is an ingenious way to facilitate it. I suppose one could use a Form object (Form.myEvent) to specify the ‘event’ to perform. But it seems that SET TIMER(-1) is what needs to be done [trigger as soon as possible] and then SET TIMER(0) disables the triggering? — Chris > On Apr 23,

Re: Custom Form Events

2019-04-23 Thread Douglas von Roeder via 4D_Tech
Chris: Set timer (0) and then catch it in On timer. -- Douglas von Roeder 949-336-2902 On Tue, Apr 23, 2019 at 8:17 AM Chris Belanger via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I have been using New formula too. > In the context of ORDA-based forms, I have set up Form.onSave(), > Form.onLoa

Re: Custom Form Events

2019-04-23 Thread Chris Belanger via 4D_Tech
I have been using New formula too. In the context of ORDA-based forms, I have set up Form.onSave(), Form.onLoad(), Form.onNew() etc. I like it because the code for record selection and change can be generic with these ’nubs’. I wish that one did not have to create a project method [for other tha

Re: Custom Form Events

2019-04-23 Thread Jody Bevan via 4D_Tech
Chris: Absolutely there is a need for them. We use them extensively. I had not really thought of them as form events, but more of an event generating a request from somewhere else, or within the form. I am working on some form events right now. Prior to Objects in the language, the plugin Obje

Re: Custom Form Events

2019-04-23 Thread Keisuke Miyako via 4D_Tech
I think the future is to use New formula. it is like a function pointer in other languages, it allows the callee to invoke a callback function at a later time. https://blog.4d.com/new-formula-more-power-behind-simplicity/ alternatively, one could say that CALL FORM is like a custom form event.

Re: Custom Form Events

2019-04-23 Thread Chip Scheide via 4D_Tech
Chris, a Form event is only a longint. you could simply define a longint value above (or below) the existing range of form events, and then take action. ex: My_form_event = 1000 context: a button click, and button object Do_something (my_form_Event) Chip On Tue, 23 Apr 2019 08:32:50 -0600, Ch

Custom Form Events

2019-04-23 Thread Chris Belanger via 4D_Tech
I am wondering if there is a way to configure Custom Form Events. I would like to be able to post a form event, and have it then processed within the FORM METHOD as such. I am doing a lot of work in “Orda context” right now and can think of some handy features that could be implemented in that w

RE: 4D Security White Paper

2019-04-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
There is something like that: https://blog.4d.com/4d-security-guide/ I don't know if that gives you the information you need. Regarding encryption there is something in v17R5: https://blog.4d.com/get-started-with-encryption-in-4d/ Regards Lutz > Does anyone know if 4D have published any white p

RE: Double Clickable app where should plugins be?

2019-04-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
I would use these commands to detect which plugins and components are available: COMPONENT LIST PLUGIN LIST These are the plugins and components loaded by 4D. So they are working. It's not only a list of a folder's content. Just my 2 cents Regards Lutz ***