Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Jeremy French via 4D_Tech
Member functions are case sensitive, like attributes. > On Aug 2, 2019, at 2:21 PM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > if member functions are case sensitive like attribute names, ** 4D Internet Users

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Narinder Chandi via 4D_Tech
Tim, Hi. I had only seen mention of this new Project format in passing so I've just taken a moment to read both of those Blog posts. Certainly this an interesting new feature and sets 4D moving in the right direction for source control integration. I will have to find some time to play with

Re: 4D Write Pro Equivalent of wr modified?

2019-08-02 Thread Tom Benedict via 4D_Tech
Thanks for the confirmation David. Tom > On Aug 2, 2019, at 12:13, David Ringsmuth wrote: > > Tom, > > You’ll need to get the content of the 4D Write document and compare the old > to the new to know if it has been changed. > > David Ringsmuth > > From: Tom Benedict via 4D_Tech

RE: 4D Write Pro Equivalent of wr modified?

2019-08-02 Thread David Ringsmuth via 4D_Tech
Tom, You’ll need to get the content of the 4D Write document and compare the old to the new to know if it has been changed. David Ringsmuth From: Tom Benedict via 4D_Tech Sent: Friday, August 2, 2019 10:27 AM To: 4D iNug Technical Cc: Tom Benedict Subject: 4D Write Pro Equivalent of wr

RE: SHA3-512

2019-08-02 Thread Timothy Penner via 4D_Tech
Hi George, I don’t know the answer to your question but I wanted to point out that GitHub has a built in way to ask questions, request a feature, or log an issue - directly within the context of the repository. For example, here is the repository you are asking about:

SHA3-512

2019-08-02 Thread George Flórea via 4D_Tech
Hi All and first of all Keisuke, I use 4d-plugin-common-crypto SHA512 from Keisuke Miyako for generating SHA-2 type hash. However, I would need SHA-3 type in next version of my 4D app, very soon. Is it possible somehow with Miyako's plug-in or any other way? 4D v16 Mac OS X 10.14 Mojave Thanks

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Chip Scheide via 4D_Tech
and complex searching options: Find A & B or Find A but # B On Fri, 2 Aug 2019 10:43:54 -0700, Kirk Brooks via 4D_Tech wrote: > It can hang on to it for a long time, though. > I really wish we have a REGEX option for Find in Design. > > On Fri, Aug 2, 2019 at 10:39 AM Tim Nevels via 4D_Tech >

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Jim Crate via 4D_Tech
What’s even better is when you have a field named “First”, and you’ve used that attribute on an entity, every time after that you type .first(), it “autocompletes” to .First() when you type the first parentheses. I haven’t tested yet to see if member functions are case sensitive like

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Tom Benedict via 4D_Tech
And Thomas Maul’s recent post on the forums regarding SCM with GIT from either Export structure files or Project format. https://forums.4d.com/Post/EN/30825681/1/3056#30825682 Export structure files is available in 17R3 and

RE: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Timothy Penner via 4D_Tech
Hi Narrinder, > it to needs to shake off the legacy of storing everything in its own > proprietary internal format in the structure ... > Hopefully things will improve but it will be a while I guess... Did you see the blog posts regarding the new Project format and how this opens up new

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Narinder Chandi via 4D_Tech
I think 4D is finally facing up to the reality that to move forwards in a meaningful way it to needs to shake off the legacy of storing everything in its own proprietary internal format in the structure - that is the single reason why we have been kept waiting for so long for proper integration

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Kirk Brooks via 4D_Tech
It can hang on to it for a long time, though. I really wish we have a REGEX option for Find in Design. On Fri, Aug 2, 2019 at 10:39 AM Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > On Aug 2, 2019, at 12:24 PM, Jeffrey Kain wrote: > > > And if you misspell a property (or get the case

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Kirk Brooks via 4D_Tech
Narinder, This is a good point. Previously 4D has been sort of development environment with its own editors and so forth. But now we are starting to look for it to be more of an IDE. Especially with the Projects option coming where the 4D part is all stored in text files. On Fri, Aug 2, 2019 at

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Tim Nevels via 4D_Tech
On Aug 2, 2019, at 12:24 PM, Jeffrey Kain wrote: > And if you misspell a property (or get the case wrong), it will suggest that > to you forever as well. So don't make a mistake... ever! :) I don’t think it does it “forever”.The way I understand it works is every method that you open is

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Narinder Chandi via 4D_Tech
Urghhh! Regards, Narinder Chandi, ToolBox Systems Ltd. -- -Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing List <4d_tech@lists.4d.com> Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> Date: Friday, 2 August 2019 at 18:24 To: 4D Tech

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Narinder Chandi via 4D_Tech
Chip, Yup, that is _exactly_ the behaviour I would expect from an IDE. Obviously, 4D's Method Editor isn't there yet... Regards, Narinder Chandi, ToolBox Systems Ltd. -- -Original Message- From: Chip Scheide <4d_o...@pghrepository.org> Date: Friday, 2 August 2019 at 18:14 To: 4D

Re: Managing multiple windows in the same process (v17r5)

2019-08-02 Thread Kirk Brooks via 4D_Tech
Wayne, That's true but it's easy to hand off tasks like that to Workers. And the worker uses CALL FORM to hand back the results. On Fri, Aug 2, 2019 at 10:22 AM Wayne Stewart via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi, > > One disadvantage is that there is only one execution stream with

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Jeffrey Kain via 4D_Tech
And if you misspell a property (or get the case wrong), it will suggest that to you forever as well. So don't make a mistake... ever! :) > On Aug 2, 2019, at 1:10 PM, Narinder Chandi via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > This current behaviour as is means that there is a great

Re: Managing multiple windows in the same process (v17r5)

2019-08-02 Thread Wayne Stewart via 4D_Tech
Hi, One disadvantage is that there is only one execution stream with multiple windows in the one process. If something is taking time in one window (a sequential search or sort or a even just a long method) execution will stop in all other windows, the UI will freeze etc On Sat, 3 Aug 2019 at

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Chip Scheide via 4D_Tech
Narinder, are you asking 4D to 'look inside' of the object for properties, then allow those to be used in auto complete? On Fri, 02 Aug 2019 18:10:09 +0100, Narinder Chandi via 4D_Tech wrote: > > Having used other IDEs, in particular those from JetBrains, 4D still > has a ways to go to provide

Re: 4Dv15 app on Windows Service

2019-08-02 Thread Tarawerkz via 4D_Tech
Hi, So it is sufficient to run the 4D service under a Service account as long as it has full administrator rights? There has been instances when the service starts, then it crashes when trying to generate a PDF (generation executed on server). But once it’s successfully generated (without

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Tim Nevels via 4D_Tech
On Aug 2, 2019, at 11:56 AM, Narinder Chandi wrote: > Thanks, but I actually have that article open in a browser window and had > referred to it prior to posting. It didn't answer my specific question that I > posted about with regards to auto-complete for 4D commands that return > objects.

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Narinder Chandi via 4D_Tech
Ah, ok that was what I had assumed but it didn't seem or feel right or intuitive. This current behaviour as is means that there is a great chance of mixing properties from multiple different objects within a given Method that can and will result in unexpected coding errors. I guess for now

RE: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Timothy Penner via 4D_Tech
Hi Narrinder, "Each time you open a method, or edit some code, the method editor collects the attributes used in your code and proposes them in the list of suggestions." What this means is that it parses the typed code and collects the properties that are written in the code. If you haven’t

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Narinder Chandi via 4D_Tech
Tim, Thanks, but I actually have that article open in a browser window and had referred to it prior to posting. It didn't answer my specific question that I posted about with regards to auto-complete for 4D commands that return objects. Can you or anybody else advise on that specific point?

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Kirk Brooks via 4D_Tech
My bad - I mis-read what he was asking about. On Fri, Aug 2, 2019 at 9:51 AM Timothy Penner via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hello, > > > What gives? Tell me I made a basic mistake somewhere?! > > Here is the blog post regarding the feature: >

RE: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Timothy Penner via 4D_Tech
Hello, > What gives? Tell me I made a basic mistake somewhere?! Here is the blog post regarding the feature: https://blog.4d.com/autocomplete-function-expanded-to-object-attributes TL/DR - Each time you open a method, or edit some code, the method editor collects the attributes used in your

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Kirk Brooks via 4D_Tech
Narinder, I just pasted your example into a new db in 17.2 (Mac) and it worked as expected. I'd suggest dragging the $object var into the debugger pane. Though it worked for me typing in the variable as well. On Fri, Aug 2, 2019 at 9:41 AM Narinder Chandi via 4D_Tech < 4d_tech@lists.4d.com>

No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Narinder Chandi via 4D_Tech
So, I'm in the final phase of a v15 to v17.2 upgrade and eliminating/replacing all the remaining _o_ prefixed obsolete 4D commands. I came across some Method Editor behaviour that I totally didn't expect... btw, this is my very first foray into using C_OBJECT and 4D commands that return

Re: Managing multiple windows in the same process (v17r5)

2019-08-02 Thread Kirk Brooks via 4D_Tech
Hi Pat, For something like that I would think about using a palette or toolbar-ish window as the 'root', if you will, for the UI process. That could actually simplify things - if the user attempts to close it you confirm they want to quit. And then you don't have to fuss around with counting

Re: Managing multiple windows in the same process (v17r5)

2019-08-02 Thread John DeSoi via 4D_Tech
You can use the Window process command to determine that both windows are in the same process. John DeSoi, Ph.D. > On Aug 2, 2019, at 11:18 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I also have a question about this ... > In our database we require at least one user

Re: Managing multiple windows in the same process (v17r5)

2019-08-02 Thread Pat Bensky via 4D_Tech
I also have a question about this ... In our database we require at least one user window to always be open. When a user closes a window, the close method counts the number of user windows and if there is only one, it doesn't allow it to be closed. However ... If the user has opened another window

4D Write Pro Equivalent of wr modified?

2019-08-02 Thread Tom Benedict via 4D_Tech
I want to know if a 4D Write Pro document has been modified. In 4D Write Classic the command is WR GET AREA PROPERTY(WriteArea;wr modified;$isModified) which does just that. Is there a similar 4D Write Pro attribute which can tell me this? I’ve dug around in the documentation but haven’t found

RE: Old version (2003) export the data

2019-08-02 Thread Wright, Tony via 4D_Tech
You're a genius thank you So much T :) -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Keisuke Miyako via 4D_Tech Sent: 02 August 2019 08:16 To: 4D iNug Technical Cc: Keisuke Miyako Subject: Re: Old version (2003) export the data I would invoke the

Re: Old version (2003) export the data

2019-08-02 Thread Keisuke Miyako via 4D_Tech
I would invoke the process list Alt+Shift+Right click https://download.4d.com/Documents/Products_Documentation/LastVersions/Line_2004/VIntl/PDF_Format/4D_2004_Keyboard_Shortcuts.pdf then perform some action that executes a method (click, etc) then break the debugger.

RE: Old version (2003) export the data

2019-08-02 Thread Wright, Tony via 4D_Tech
Windows -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Pat Bensky via 4D_Tech Sent: 02 August 2019 07:27 To: 4D iNug Technical Cc: Pat Bensky Subject: Re: Old version (2003) export the data Mac or Windows? On Fri, 2 Aug 2019 at 07:21, Wright, Tony

AW: 4Dv15 app on Windows Service

2019-08-02 Thread Epperlein, Lutz (agendo) via 4D_Tech
That should be sufficient regarding rights. The question is which resource the server should access. If you run the service under the default system account, you could get problems accessing certain network resources, printer ... But I think this a known circumstance. Did you check the Windows

Re: Old version (2003) export the data

2019-08-02 Thread Pat Bensky via 4D_Tech
Mac or Windows? On Fri, 2 Aug 2019 at 07:21, Wright, Tony via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi All > > Wonder if you can help > > Been given an database from version 2003 and while I can log on as > designer with no issues I can't drop into the user or designer mode to > allow me to

Old version (2003) export the data

2019-08-02 Thread Wright, Tony via 4D_Tech
Hi All Wonder if you can help Been given an database from version 2003 and while I can log on as designer with no issues I can't drop into the user or designer mode to allow me to start to think about exporting the data The database structure isn't compiled Have tried the normal Ctrl + Y,