Re: PRINTERS LIST

2019-11-29 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Dave, "Apparently 4D loads it’s copy of current available printers at launch" We have an 4D v17 64-bit engined App running in a Citrix environment. We got the feeling that, when a user takes over his session in another room, he "looses" the connection to the available printers, even when we

Re: Trapping the 'return' key in list forms

2019-11-29 Thread Chip Scheide via 4D_Tech
invisible button with as the activation key, which could then POST KEY(). or you know... User training :) CHip > Hi > > Could anyone kindly bring me up to date me how we trap the [Return] > key on a form these days with a default button when some other action > is to be taken rather than

Trapping the 'return' key in list forms

2019-11-29 Thread Peter Jakobsson via 4D_Tech
Hi Could anyone kindly bring me up to date me how we trap the [Return] key on a form these days with a default button when some other action is to be taken rather than accepting the form, depending on the last object that had the focus prior to executing the Default Button script ? In

Re: 4D Web Server Security

2019-11-29 Thread Tom Swenson via 4D_Tech
My two cents: Many valuable suggestions in this thread on front ends, serving static files, etc. I'd bet most of the auditors are searching for things like SQL injection attacks. They probably won't be able to find any of those on a 4D web server and most won't know enough about 4D to craft

Re: Check boxes : Boolean or longing ?

2019-11-29 Thread Chip Scheide via 4D_Tech
my experience - through v15 checkbox VARIABLES are numeric (longint), however, boolean FIELDS can be represented on a form by a checkbox. in either case if you want the label for the checkbox to be on the left side enter a space as the title and then use a static text object for the label Chip

Re: Check boxes : Boolean or longing ?

2019-11-29 Thread Pat Bensky via 4D_Tech
There is also now a three-state checkbox which can have a value of 0, 1, or2 (False, True, or Unspecified). On Fri, 29 Nov 2019 at 19:37, Bernard Escaich via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi all, > > If I insert a check box ‘MyCheckbox’ in a form with a expression >

Check boxes : Boolean or longing ?

2019-11-29 Thread Bernard Escaich via 4D_Tech
Hi all, If I insert a check box ‘MyCheckbox’ in a form with a expression ‘Form.MyCheckbox’, this expression has a numerical value. If I declare on load Form.MyCheckbox:=True, it is a boolean. I find counter-intuitive to have a boolean represented by a numeric value and prefer to write If

Re: 4D Web Server Security

2019-11-29 Thread Paul Dennis via 4D_Tech
I assumed this was internet facing hence my Nginx comments. As well as serving the static content Nginx or Apache as a proxy supports Lets Encrypt so you dont have to worry about ssl. If you proxy nginx does the ssl bit and as long as its on localhost you can connect to 4D on port 80 which is a