[off] i9

2017-05-30 Thread Wayne Stewart via 4D_Tech
This might be handy for all those preemptive workers. https://arstechnica.com/gadgets/2017/05/intels-new-high-end-desktop-platform-up-to-18-cores-36-threads-2000/ Regards, Wayne Sent from my iPhone ** 4D Internet Users Group

Re: Get table fragmentation

2017-05-30 Thread Cannon Smith via 4D_Tech
Hi Doug, Thanks for the information. I can see that there probably isn’t an easy way to algorithmically have a server tell me when it needs to be compacted. I guess I’ll just have it report information to me, similar to what you are doing, and use my brain. Thanks! -- Cannon.Smith Synergy

Re: Get table fragmentation

2017-05-30 Thread Douglas von Roeder via 4D_Tech
Cannon: You're welcome. -- Douglas von Roeder 949-336-2902 On Tue, May 30, 2017 at 12:59 PM, Cannon Smith via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi Doug, > > Thanks for the information. I can see that there probably isn’t an easy > way to algorithmically have a server tell me when it

Re: Web Areas On Form Page >1

2017-05-30 Thread Keith Goebel via 4D_Tech
Actually, the variable names are all the same - it is the object names that are different. > Using 4D v15.2 Win we have forms with 7 or 8 web areas on different pages - > all work fine. > I can’t get at the code at the moment but I think I just made sure each web > area had a different

Re: V15.4 and the GRAPH command

2017-05-30 Thread Robert McKeever via 4D_Tech
Well, what do you know - the aBlock# arrays were text! Works now. > On May 30, 2017, at 3:17 PM, Robert McKeever via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > The code: > > GRAPH(IOPGraph;vGraphType;Labels;aBlock1;aBlock2;aBlock3;aBlock4) > > IOPGraph is a picture variable > vGraphtype is

Re: Web Areas On Form Page >1

2017-05-30 Thread Sujit Shah via 4D_Tech
I have web areas on a multi page layout each with its own variable. Works well for me. There was a Kirk - Mayako iNUG message exchange on this and I am not sure now what made it work for me. On Wed, 31 May 2017 at 8:00 am, Keith Goebel via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Actually, the

4D v15.4 and 4D Chart

2017-05-30 Thread Robert McKeever via 4D_Tech
I just updated a client to V15.4 from v13.4. Datafile was no problem. As an ophthalmologist, he occasionally graphs eye pressure over time. Of course the first time he tried, it generated an error. One for for a 27” monitor, and a button that opens another form to do the graph. Found the new

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-30 Thread Koen Van Hooreweghe via 4D_Tech
Hi everybody, Op 29-mei-2017, om 15:11 heeft Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> het volgende geschreven: > I miss the split pane feature too. So useful in long methods. Wish they would > bring it back. > If you have access to the 4D forum, please vote on Davids feature request

Re: Write Pro beginner question

2017-05-30 Thread Pat Bensky via 4D_Tech
Please don't cry, Bernd :) I think you have slightly misunderstood ST SET PLAIN TEXT. In this context PLAIN TEXT means *unformatted*, rather than *unstyled*. In other words, ST SET PLAIN TEXT inserts text into whatever styling is already in place. So to remove the bold, you would need to change

Re: Help with Regex

2017-05-30 Thread Jeremy Roussak via 4D_Tech
Fair point, if you’re sure there will always be six digits. \d{6} will work, too. Jeremy Roussak j...@mac.com > On 30 May 2017, at 00:19, Robert Livingston wrote: > > JR's solution works Some would argue that more specifically alluding to the > six digits is more

Re: Procedural Splitter Movement

2017-05-30 Thread Kirk Brooks via 4D_Tech
​Steve, I don't think so - at least I haven't been able to see that happen. Whenever I do that I also resize the affected objects. ​ On Tue, May 30, 2017 at 8:49 AM, Stephen J. Orth via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Either I’m having a brain-fart, or just not remembering correctly on

Re: Procedural Splitter Movement

2017-05-30 Thread Keisuke Miyako via 4D_Tech
it depends on *how* you procedurally move the splitter. say you have a splitter (which has a numeric data source) assigning a value like Splitter:=Splitter-10 will move it to the left (or up) and other objects will follow. but OBJECT MOVE will be shifting its base, so it will not interact

Re: Procedural Splitter Movement

2017-05-30 Thread Kirk Brooks via 4D_Tech
Wait a minute... On Tue, May 30, 2017 at 10:55 PM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > say you have a splitter (which has a numeric data source) > ​It does?​ assigning a value like > Splitter:=Splitter-10 > will move it to the left (or up) and other objects will follow

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-30 Thread Janie Marlow via 4D_Tech
Another workaround might be to have both the method open and the Explorer open, with the method selected in the Explorer and the Explorer expanded to Preview? --- - the split pane feature Workaround = copy the code to a dummy method and have it open beside the real method.

USE DATABASE from 4D client

2017-05-30 Thread David Samson via 4D_Tech
I asked this question some time ago but with the current flurry of interest in external databases I will have another go. NB no components involved here. If I have an external datafile held on the server how do I access it (purely for lookup) from a 4D client? What I tried was to use SQL as

Procedural Splitter Movement

2017-05-30 Thread Stephen J. Orth via 4D_Tech
Either I’m having a brain-fart, or just not remembering correctly on this topic... If I procedurally move a splitter, will the objects surrounding this splitter adjust accordingly? I'm looking for the same response that would occur if the mouse is used to move the splitter, except I want to

Re: Please give us a split-pane in the Method Editor

2017-05-30 Thread David Adams via 4D_Tech
This feature request is on fire over on the forums - it's hit 30 votes with a 4* rating in a few hours. That's the fastest I've ever seen. If you haven't voted yet, do it now. Grab a piece of history and make it your own! Please give us a split-pane in the Method Editor

Re: USE DATABASE from 4D client

2017-05-30 Thread David Adams via 4D_Tech
David, Interesting question about Execute on server, I hope we get a good answer. I suspect that you might be right. If everything is going through Execute on server, it's all running on one machine. At that point, I guess you would not use AUTO_CLOSE and would allow 4D to manage the access. Hmm.

Re: Macro anyone?

2017-05-30 Thread Bob Finnerty via 4D_Tech
Hi Chip, Here's the pseudocode: Create a 4d method mySortMethod GET MACRO PARAMETER highlighted text Parse returned text to text array with substring using CR as delimiter Sort array Rebuild method text from array: For(1;$element;size of array())+CR SET MACRO PARAMETER highlighted text Then in

Re: USE DATABASE from 4D client

2017-05-30 Thread Keisuke Miyako via 4D_Tech
rather activating the "execute on server" method property, I would recommend using the REMOTE keyword: http://doc.4d.com/4Dv15/4D/15/USE-DATABASE.300-2288124.en.html 2017/05/30 23:25、David Samson via 4D_Tech <4d_tech@lists.4d.com> のメール: One suggestion I saw on the

v16 R2 component compile problem

2017-05-30 Thread Bob Finnerty via 4D_Tech
Hi all, Attempting to update one of my components with a new method and getting an inscrutable error when I added. The component compiled with no problem when converted from 15 r5. The error is: General error: "4D method and variable have the same name?" Been through all the code and there's no

Re: Web Areas On Form Page >1

2017-05-30 Thread Cannon Smith via 4D_Tech
Thanks, Kirk. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On May 29, 2017, at 7:52 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I know my solution works on both platforms but since I develop on a Mac I

Re: Web Areas On Form Page >1

2017-05-30 Thread Cannon Smith via 4D_Tech
Thanks, Ingo. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On May 29, 2017, at 4:09 PM, Ingo Wolf via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > This is needed and works on both Mac and Windows.

Re: Get table fragmentation

2017-05-30 Thread Chuck Miller via 4D_Tech
One more thing if you are running using SSDs I do not think fragmentation is an issue? Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064

Re: Get table fragmentation

2017-05-30 Thread Cannon Smith via 4D_Tech
Hi Chuck, That’s a good question. I can remember hearing both ways on this at Summits. Definitely less of an issue with SSDs, but I think it still can be in some circumstances? Makes me wonder if there are any tech notes on this. I’ll have to take a look. Thanks. -- Cannon.Smith Synergy Farm

Macro anyone?

2017-05-30 Thread Chip Scheide via 4D_Tech
Anyone have a macro (or anything else) which will sort method editor text? I have a method which I am using to keep track of other methods I have worked on. I would like to sort this list. Currently I am copy/pasting in excel and sorting and copy/pasting back Would prefer not to do this.

Re: Macro anyone?

2017-05-30 Thread Keith Culotta via 4D_Tech
This gets the text from and to the clipboard $text:=Get text from pasteboard ARRAY TEXT($array;0) $delim:=Char(Carriage return) $len:=Length($text) $lenDel:=Length($delim)-1 $pos1:=1 $pos2:=Position($delim;$text;*) While ($pos2>0) $SS:=Substring($text;$pos1;$pos2-1) APPEND TO ARRAY($array;$SS)

Re: Favorite tricks and keystrokes: Please take one and leave one

2017-05-30 Thread Tom Dillon via 4D_Tech
I use a method called WindowList which puts a list of all the Design Environment windows open onto the clipboard. I paste this into a method called _Work to keep "project" parts readily available. So, when I need to work on something else for a while, all the other project windows can be closed

Re: Macro anyone?

2017-05-30 Thread Chip Scheide via 4D_Tech
Keith & Bob Thanks! On Tue, 30 May 2017 11:01:11 -0500, Keith Culotta via 4D_Tech wrote: > This gets the text from and to the clipboard > > > $text:=Get text from pasteboard > > ARRAY TEXT($array;0) > $delim:=Char(Carriage return) > $len:=Length($text) > $lenDel:=Length($delim)-1 > $pos1:=1 >

Re: Favorite tricks and keystrokes: Please take one and leave one

2017-05-30 Thread Chip Scheide via 4D_Tech
this is where Windowmizer is handy Minimize all open windows to their own title bar. expand Explorer window - open new stuff the 'old' stuff never need to close :) On Tue, 30 May 2017 10:45:30 -0600, Tom Dillon via 4D_Tech wrote: > I use a method called WindowList which puts a list of all the

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-30 Thread Bob Finnerty via 4D_Tech
Dave, Along those lines, objects have made passing long parameter lists to methods a joy. 8 parameters => 1 object with 8 attributes, optional parameters don't have to be at the end, etc. Another trick: create constants for object attributes of commonly used objects, to wit: Constants Theme:

Re: USE DATABASE from 4D client

2017-05-30 Thread David Samson via 4D_Tech
David Adams wrote: >On another note, is there some reason that you can't or don't want to >download the file to the clients? It is a 28 million record postal address file so segmenting won't work. I have thought of copying it over to the clients but then the issue of keeping it updated raises

Re: USE DATABASE from 4D client

2017-05-30 Thread David Samson via 4D_Tech
Keisuke Miyako wrote: >rather activating the "execute on server" method property, >I would recommend using the REMOTE keyword: Does that allow multiple users to access it simultanously? Thanks for the reply, David ** 4D

Re: Get table fragmentation

2017-05-30 Thread Douglas von Roeder via 4D_Tech
Cannon: The table fragmentation level is a lot like a temperature - it's one number that indicates something ("it's cold") but other factors that a lead us to decide "it's too cold to go outside because it's too humid/windy/dry/calm/etc." In addition to fragmentation % look at the number of

Re: Favorite tricks and keystrokes: Please take one and leave one

2017-05-30 Thread Douglas von Roeder via 4D_Tech
Chip: I use a "workspace" palette for window management. Each "workspace" is titled using the ticket number + title for the ticket in my bug tracking system (I use FogBugz). After creating a workspace, Per the pix here , I use

Re: Write Pro beginner question

2017-05-30 Thread Bernd Fröhlich via 4D_Tech
Pat Bensky: > Please don't cry, Bernd :) > I think you have slightly misunderstood ST SET PLAIN TEXT. In this context > PLAIN TEXT means *unformatted*, rather than *unstyled*. In other words, ST > SET PLAIN TEXT inserts text into whatever styling is already in place. So > to remove the bold, you

Thanks and Goodbye

2017-05-30 Thread Joshua Hunter via 4D_Tech
After 7 years working with Cheryl Michels and her team at Dataworks Development building Freezerworks I've decided it is time to move on. Before I go I wanted to reach out to everyone on the iNug and those that I met at Summits and other conferences to say thank you for the help you've given me

RE: Thanks and Goodbye

2017-05-30 Thread Stephen J. Orth via 4D_Tech
Joshua, Sorry to hear the news, and I wish you all the best! Steve * Stephen J. Orth The Aquila Group, Inc. Office: (608) 834-9213 P.O. Box 690 Mobile: (608)

Fwd: Disable close button on Splash screen windows v12

2017-05-30 Thread truegold via 4D_Tech
Hi All, Wanted to confirm that by simply setting a password to Designer and creating another default user group that did not have access to Design wound up fixing rings quite elegantly. That’s the first part in my scenario. The second part was to continue using our custom login and then after

Re: Macro anyone?

2017-05-30 Thread Douglas von Roeder via 4D_Tech
Chip: Refer to my posting re. Workspace in the "favorite tricks" thread. -- Douglas von Roeder 949-336-2902 On Tue, May 30, 2017 at 9:48 AM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Keith & Bob > Thanks! > > On Tue, 30 May 2017 11:01:11 -0500, Keith Culotta via 4D_Tech wrote:

Re: USE DATABASE from 4D client

2017-05-30 Thread bob.miller--- via 4D_Tech
RE> rather activating the "execute on server" method property, I would recommend using the REMOTE keyword: http://doc.4d.com/4Dv15/4D/15/USE-DATABASE.300-2288124.en.html I don't understand how this would make any difference; the REMOTE database would still be held open until AUTO_CLOSE was

Re: Favorite tricks and keystrokes: Please take one and leave one

2017-05-30 Thread truegold via 4D_Tech
Hey Tom, Cool idea! I keep windows open (way too many…) all the time so I can remember things I am/was working on - for various reasons. So now I’ll create a method where I store recent windows. Then I can close them without worry of forgetting of spending time drilling down into where they

Re: Here's one for the archives: Incompatible argument list error with a compiled component

2017-05-30 Thread Bob Finnerty via 4D_Tech
Hi Dave, Yeah, something seems squirrely with the v16 compiler. I just posted about an error on a component which compiles fine in 15r5, but now generates a "4d method and variable with same name" error (and of course you can't find out the name of said conflict, which btw does not exist in