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