Re: Defining and documenting Objects

2018-10-09 Thread Paul Dennis via 4D_Tech
Kirk, Good point, well made. Paul -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Selection to JSON Date Conversion

2018-10-09 Thread Douglas Cryer via 4D_Tech
Help, I have just hit a problem with Selection to JSON that has me floored and I am hoping somebody can point me to missing setting or to my ignorance. When including date fields in a template and using it with Selection to JSON dates that fall inside of BST the dates are being corrupted by

Where is best place to save data outside data file

2018-10-09 Thread Jody Bevan via 4D_Tech
In my previous 26+ years of 4D coding I did not have to concern myself with the same computer being used by different computer users (By this, I mean the user signed into the computer). Part of that was that long ago, people just didn’t sign out of the computer, and then the next person sign in

Re: Selection to JSON Date Conversion

2018-10-09 Thread Keisuke Miyako via 4D_Tech
they way 4D - JSON date conversion works is that you get back what to put in, so you need not care what the internal storage looks like. 18/05/2018! (implied midnight local time) may be stored as the day before in stringify'd UTC, but when you read the date back in 4D language (OB Get) you get

Re: Selection to JSON Date Conversion

2018-10-09 Thread Patrick Emanuel via 4D_Tech
is that helpfull ? 4D-Forum disucssion - Patrick EMANUEL Administrator www.association-qualisoft.eu (Soft1002, Simply Asso & QS_Toolbox) -- Sent from:

Re: Where is best place to save data outside data file

2018-10-09 Thread Jody Bevan via 4D_Tech
Chip: Ya, I saw my phone number there as I clicked send… I will try the 4D Folder and see how that works out. Thanks Jody > On Oct 9, 2018, at 10:29 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I believe that Get 4D Folder works for this sort of thing > > I would think

Re: Where is best place to save data outside data file

2018-10-09 Thread Chip Scheide via 4D_Tech
I believe that Get 4D Folder works for this sort of thing I would think either: 4D folder, or Log folder Chip On Tue, 9 Oct 2018 09:50:48 -0600, Jody Bevan via 4D_Tech wrote: > In my previous 26+ years of 4D coding I did not have to concern > myself with the same computer being used by

4D Write Pro (WP) Area and ST INSERT EXPRESSION

2018-10-09 Thread David Ringsmuth via 4D_Tech
Insert expression and Get expression seem to not be pre-implemented in the 4D v17 Write Pro area. The documentation indicates this should be managed by the developer, along with “Allowed Methods”. I think the UI for this provide access to allowed tables, fields, methods and commands. If you

Re: Notes on converting pictures to v17

2018-10-09 Thread Chuck Miller via 4D_Tech
Yup after your CONVERT PICTURE($vPict;$codec) You need the next line of code TRANSFORM PICTURE($vPict;Transparency;0x00FF)

Re: 4D Write Pro (WP) Area and ST INSERT EXPRESSION

2018-10-09 Thread Pat Bensky via 4D_Tech
Something like ... *ST INSERT EXPRESSION*(WriteProArea;"String(Current date;System date long)") for example. On Tue, 9 Oct 2018 at 17:50, David Ringsmuth via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Insert expression and Get expression seem to not be pre-implemented in the > 4D v17 Write Pro

what to do when I don't want back button funtionality in a browser of pages from 4d

2018-10-09 Thread setar accnt via 4D_Tech
Hi All, I am a fledgling developer trying to become more proficient in using 4D and the web for in-house applications. Sinds many years 4D is capable to send, to the Web browser, the HTML page of the Web file stored in the document whose pathname is supplied. Every page I send to the browser

Re: 4D Write Pro (WP) Area and ST INSERT EXPRESSION

2018-10-09 Thread John DeSoi via 4D_Tech
You can use the 4D formula editor with the EDIT FORMULA command. I don't use 4D Write, but I implemented the formula editor for styled text fields (used to implement a markdown editor). Editing (by double click) or inserting a formula is something like this: GET

Re: Write Pro: Creating headers/footers

2018-10-09 Thread Two Way Communications via 4D_Tech
Hi Pat, I discovered this by accident: you need to double click in the header or footer area, when in ‘Page’ mode…. practically, this means, as high or as low as you can on the 4D Write Pro page. Rudy Mortier Two Way Communications bvba > On 6 Oct 2018, at 00:59, Pat Bensky via 4D_Tech

Multi-style behaving strangely

2018-10-09 Thread Carl Aage Wangel via 4D_Tech
Windows7, 4D v16.4 I have a form with a subform included. The form is used for printing invoices. The subform has 3 fields side by side. The first field is a date field, the second field is a text field and the third field is a number field. Sometime the text field has "copy and paste" text. For

Re: Write Pro: Creating headers/footers

2018-10-09 Thread Pat Bensky via 4D_Tech
Thanks Rudy - but I need to create new headers and footers in code! Pat On Tue, 9 Oct 2018 at 20:21, Two Way Communications via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi Pat, > > I discovered this by accident: you need to double click in the header or > footer area, when in ‘Page’ mode….