COMMON PROPERTIES OF OBJECTS

GRAPHICAL PROPERTIES

The properties of the various fields used in forms and the properties of the form itself (see here), are all listed on the right side of the Designing Plan and are displayed when you select the object in question (by clicking on it).

NOTE: The property grid can be displayed by category or by name, using the two buttons FD_PULSORDIN;
in the first case the properties are grouped by topic, in the second case are in alphabetical order.

FDproprcom_en

  • Color by pressing the arrow of the property Forecolor or Backcolor  show three tab: Custom, System, Web.
  • Font all properties that begin with “Font” defines the font type (FontName), if italic (FontItalic), if bold (FotnBold), if underlined (FontUnderline) and its size (FontSize ).
  • BorderStyle present in many objects, applies a linear board (FixedSingle), inserted border (Fixed3D) or no border (None).
  • Text is the property that relates to the objects “Label” and is the text that will appear.

    NOTE When you select an item, often displays a small arrow to the right of the field, pressing which will open the options for that specific property:

FDfreccalato_enExample: FontBold property allows you to choose  the bold type (true) or not (false);
other times it does not appear the arrow because you can write directly the chosen option in the line of the property;

Example: for the property Fontsize, just write the number of the character  FDfrontdim_en

  • Size expresses in pixels the height and the width of the object;to change the size click on the  button, that opens a submenu relative to the two dimensions.
  • Location also articulated in the submenu,of X and Y, it allows you to specify the placement of the object on the “Designing Plan”;
    in particular X and Y are the coordinates of the upper left corner of the upper-left corner of the container.
  • DropDownHeight and DropDownWidth allow you to define a fixed size in the list of boxes with drop-down menu. For example, if the field is small for reasons of space, you can set the size of the curtain, at the time when it opens for choice;
  • Sorted if it sets as True, presents the values in alphabetical order.
  • OnlyRead:present in some items, you can make the field available just one automatic filling, without the possibility of type in inside.
  • TabIndex: it is the only property common to all objects and allows you to specify the sorting tab’s sequence.

PROPERTIES A FIELD REFERRED

It ‘s very important that each object is linked to a database field;
so in the “Editing Documents” table’s form will show the columns of objects inserted with the assigned name and the specific corresponding field of the database.

FDnomecampo_en

  • the (Name) defines the name of the object.
    It is important because it is the name with which handling events referred to the object, to modify or to read its value.
    Each object has a default (name) assigned with a number that grows gradually you insert objects of the same type on the form.
    It is advisable to change the (name) of the object, so that it is easy to link to the type of information that is intended to handle; of course, assigning a specific name, you no longer need to maintain the sequence number.
    Is it possible to give the same field name, so you have greater clarity in the correspondence between the form object and the database field.
    N.B. The name you choose to assign cannot contain spaces.
  • the Datalink property defines the name of the database field, in particular in the “DOCUMENT ” table, in which the value of the object will be stored.
    It is very important that every object of the Form Designer is linked to a field, otherwise the value is not saved in the database, and therefore is not recoverable for all necessary functions (queries, reports, Inserting in Word/Excel templates).
    Depending on the type of object the field will be given DATE, CUSTOM, NUMBER, FLAG.In particular are available:

CUSTOM1 -25: max 254 characters – text fields

CUSTOM26 -30: unlimited length text fields

FLAG1 icon -40: logical fields

DATE1 -20: date fields

NUMBER1 -20: numeric fields

  • The FieldDescription is the name that can be attributed to the field, soit is both in the columns of the “Editing Documents”table, both in the document menu to appear an identifying name and not a generic CUSTOM1 or DATE2, etc.

  • Collate: if True means that this field will be used for automatic collating.

  • ModifyAfterWorkflow— changes the fields even after the publication of the document.
  • ShowinIndex: set True to be able to see the field as a column heading in the index of documents.
  • DataSourceQuery it allows you to define a query, with which you can define the list of possible values attributable to the object in question.
    Pressing “on the dots” next to the property, it opens a window where you can specify the query.

FDquerylista01_en
Pressing on “Link to”, you select one of the predefined queries (attached to the master data) or a scratch (Custom Query).

FDquerylista02_en
Below is an example of a drop-down box containing a set of e-mail addresses, which feeds on the organization chart of the customer whose code and name were included in CUSTOM1.
The custom query is the following:

FDquerylista013

NOTE: if you intend to refer to a form object which is not linked to any field, simply insert its name in the query, always preceded by “:”.

  • Required: If True means that the field is required, and if not filled out by the user, the system will return an error message preventing the saving data.

  • AllowedRoles: indicates which workflow roles are enabled, the field is filled in. The roles you specify by a series of checkboxes that open automatically on the arrow.

  • ShowRoles: indicates which roles in the workflow can display the field. As for the roles enabled, even viewers roles, you specify through a series of checkboxes that open automatically.

  • Readonly: If True means that the field will not be editable.

  • Speed Tip: Specifies the text that is presented to the user, when you rest the mouse on the field.

  • Defaultvalue: is the value that the field contains by default when you create a new form.

  • ListCostrained: If True indicates that the value in the field may be entered only by choosing it from the list (the user cannot then enter a value typed as you like).

  • Required: if True means that the field is required and if not being filled by user, the system will return a message, preventing  the saving data.
  • Locked:if True prevents that the field can be moved by dragging the mouse in error designers.