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 > 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 (MyCheckbox) instead of If (MyChebox = > 1). > > What is your experience ? > Is there a risk to declare it as boolean ? > > Thanks for your advices. > > Bernard Escaich > > > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ------------ Hell is other people Jean-Paul Sartre ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************