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
// // CREATED: 05/31/17, 17:40:22 Robert Livingston // DESCRIPTION: Alphabetically sorts the lines of a method when used in a Macro // Call SortMethod from the Macro dropdown in the Method Editor C_TEXT ($inputText) C_TEXT ($sortedText) C_LONGINT

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 >

Re: Tip (?): Escaping escape characters

2017-01-06 Thread Robert Livingston
> On Jan 5, 2017, at 7:37 PM, David Adams wrote: > > $escaped:="" > > If (Count parameters>=1)// If this isn't true, you should deal with it. > $escaped:=$1 > > $escaped:=Replace string($escaped;"\\";"";*) > $escaped:=Replace string($escaped;"\n";"\\n";*) >

Re: Figuring out if you're on a 32-bit or 64-bit machine and 4D through code...

2016-12-26 Thread Robert Livingston
Description The Version type command returns a numeric value that denotes the type of 4D or 4D Server version that you are running. 4D provides the following predefined constants, found in the 4D Environment theme: ConstantTypeValue Comment 64 bit version Longint 1

Re: Sorting chemical formulas - SOLVED

2016-12-22 Thread Robert Livingston
Original Post Ag2O Al2O3 AsGa AuBr3 This is how 4D sorts these 4 formulae, which at first glance appears to be correct. Unless you're a chemist :) They should actually be sorted like this: AuBr3 AsGa Al2O3 Ag2O ___ Solution?? Ag002O000 Al002O003 As000Ga000

Re: Sorting chemical formulas

2016-12-21 Thread Robert Livingston
; On Dec 21, 2016, at 12:12 PM, Robert Livingston <rlivings...@me.com> wrote: > > How about create a string field that concatenates the form of the chemical > with the lowercase removed & then the original formula > > Index this field for sorting purposes > > So:

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Robert Livingston
Thanks a lot, Tim. This worked for me. My app is unsigned. (I do not have an Apple Developer ID) My "App" when it appeared after being "unzipped" happens to sit in a folder with some other files. The zipped file is a folder with the App and a couple other files. That just happens to be how

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Robert Livingston
I did look at this because I thought that the problem might be here but not. In this regard (Sharing & Permissions) the "quarantined" and the "non-quarantined" versions of the zip file are the same. There is another section in the Get Info panel -- "More Info" where there is a bit of

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Robert Livingston
Thanks for your input. But I have tried using a DMG of the application and the same problem occurs. > On Nov 14, 2016, at 7:38 AM, spiffyguy wrote: > > Apple may change the permission from zip files as you experienced. Perhaps > for mac it would be better to make a DMG

Downloaded 4D app: structure file in read only mode

2016-11-13 Thread Robert Livingston
I have a compiled 4D app 1. I zip compress it. 2. I uncompress it. It works fine. 3. I send the compressed file to an on-line storage (AWS - Amazon Web services) 4. I bring back the compressed file. 5. I uncompress it. It will not work. a. I get a message: Are you sure you want to open