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
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
>
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
3 matches
Mail list logo