Re: Temp files in 4D package

2018-03-25 Thread Robert Livingston via 4D_Tech
> On Mar 25, 2018, at 3:46 AM, Maurice Inzirillo AJAR > wrote: > > Hi > > This means that you are short of memory. > > 4D is creating temp files to store some objects which can’t be stored in the > cache because it’s too small. > > So try to extend the cache

Temp files in 4D package

2018-03-24 Thread Robert Livingston via 4D_Tech
Mac 10.13.3 4D 15.2 I have a local 4D database. I run it perhaps once every two days. I am running the non-compiled version of the database. I am exiting 4D conventionally when done with any particular time of use. When I choose "Show Package" to look at things like the data file and

Re: Resizing Window in Code keeping Background Image centered

2017-07-21 Thread Robert Livingston via 4D_Tech
Thanks for jumping in, Tim. I am actually using V16 and so I generally use the V16 documentation. But the link that Keisuke provided me to explain RESIZE FORM WINDOW happened to be a link to V15.4 documentation, immediately before CALL FORM arrived on the scene. So I was in that link when I

Re: Resizing Window in Code keeping Background Image centered

2017-07-20 Thread Robert Livingston via 4D_Tech
CALL FORM is capitalized so as to suggest to me that it is a command in 4D. But I can find no such command. ? > On Jul 20, 2017, at 5:26 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > you would need to use CALL FORM in order to apply it to the splash window.

Resizing Window in Code keeping Background Image centered

2017-07-20 Thread Robert Livingston via 4D_Tech
On Mac. 4D v16 There is an image that can be associated with menu bars and initially it displays in the center of the window. (This image is called the background image in the 4D Tool Box) If you resize the window by dragging on the sides or corner, that image keeps itself centered. But if I

Re: Set_Exists() function: Simple version

2017-07-17 Thread Robert Livingston via 4D_Tech
First I have to get some more logical errors out of my code. The below is cleaned up. C_BOOLEAN($0;$setDoesExist) C_TEXT($1;$setName) C_BOOLEAN($testInSet) C_LONGINT($numInSet) $setName:=$1 $numInSet:=Records in set($setName) If ($numInSet>0) $setDoesExist:=True Else

Re: Print Project Form

2017-07-17 Thread Robert Livingston via 4D_Tech
> On Jul 16, 2017, at 3:41 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > the command is called Print form, it can not be more obvious! Keisuke: Thanks for taking time to reply In my world, things are often not obvious. In this case the reason is that the documentation

Re: Set_Exists() function: Simple version

2017-07-17 Thread Robert Livingston via 4D_Tech
In the sample code: $testInSet:=ADD TO SET($setName) should just be ADD TO SET($setName) ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

Re: Set_Exists() function: Simple version

2017-07-17 Thread Robert Livingston via 4D_Tech
> On Jul 16, 2017, at 9:18 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > So, I'd be grateful if anyone that is Really Into Sets (we all know you're > out there!) gave it some thought. If it's reliable, great! If not, I'll > kill it rather than rely on it. I really should shut

Re: Set_Exists() function: Simple version

2017-07-17 Thread Robert Livingston via 4D_Tech
> On Jul 16, 2017, at 9:09 PM, Justin Carr via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Are you able to provide a link to where the documentation states this? I really have to totally retreat here. Talk about faulty memory| When I wrote that note, I was "convinced" that I had just read in

Print Project Form

2017-07-16 Thread Robert Livingston via 4D_Tech
Is it possible to print a project form? When I review the "print" functions, they always seem to refer to table forms. I suppose I can use some table form in some "pseudo table" for what I am trying to do, but it would be more straight-forward if I could just print a project form Thanks

Re: Set_Exists() function: Simple version

2017-07-16 Thread Robert Livingston via 4D_Tech
When David writes I generally find it very clear if it is discussing something that is basic enough for me to have a chance to understand in the first place. But I found this message a little confusing and yet sets seem to be a fairly basic topic. > On Jul 14, 2017, at 5:10 PM, David Adams

Re: revelation! - Choose

2017-07-07 Thread Robert Livingston via 4D_Tech
Choose — Caution IMO the documentation is slightly faulty in its example for the “integer” use of this command. The issue is that Choose returns the “null” value for the type being used if the integer value is not in the range covered. From the Documentation *******

Re: Enterable Variables in Output Form headers

2017-06-18 Thread Robert Livingston via 4D_Tech
KM Thanks a lot for your reply. I did a quick look over of the link that you sent and will study the material. Much appreciated. > On Jun 18, 2017, at 3:22 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > section "Why Use Project Forms?" > > quote: > > Lastly, project

Re: Enterable Variables in Output Form headers

2017-06-18 Thread Robert Livingston via 4D_Tech
> On Jun 18, 2017, at 7:45 AM, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I could never obtain an enterable variable with DISPLAY/MODIFY SELECTION. > Since I use selection listbox in a form opened by DIALOG, I can. Well, it works for me with MODIFY SELECTION just not

Re: Horizontal Sizing Move

2017-06-17 Thread Robert Livingston via 4D_Tech
Thanks for taking time to reply. In my case, the button is the only item in the header. The output form itself was just created in the Wizard. During editing I remove all the button in the header except for my cancel button which I place in the upper right of the header. Basically, that

Horizontal Sizing Move

2017-06-17 Thread Robert Livingston via 4D_Tech
I am confused by an apparent restriction. Mac os 4D version: 16 R2 When I create a list view (say 1400 pixels wide) and it is resizable then the user can grab the right lower corner and resize the window. If they make it very narrow then more and more information of the various listed records

Re: Macro anyone?

2017-05-31 Thread Robert Livingston via 4D_Tech
The final 100 yards using Bob Finnerty's suggestion - (Hey! Finnerty. Glad to see still working with 4D!) 1. Here is the code (non-pseudo) that you place in your project as a Project Method: here called SortMethod. Paste this text in and save it. // PROJECT METHOD: SortMethod //

Re: Help with Regex

2017-05-29 Thread Robert Livingston via 4D_Tech
JR's solution works Some would argue that more specifically alluding to the six digits is more robust in case some slightly mis-titled file exists. Therefore ^SP_\d\d\d\d\d\d ^SP_INS_\d\d\d\d\d\d iPhone RRL > On May 29, 2017, at 11:45 AM, Jeremy Roussak via 4D_Tech >