Manual in PDF format

1. Basic information

1.1. Description of the control

A TextBox is a text box of any width and height for entering plain text.

1.2. Create a new control

You can create a new textbox as follows from the preview page using the toolbar with controls:

  • First, clicking on the view page determines the position where the new textbox should be placed. This will highlight the selected position with a gray horizontal line. Then just click on the “TextBox” item in the toolbar of the preview page, fill in the attributes of the new control in the newly opened dialog, and then save. This will insert a new textbox at a pre-selected location on the view page.
  • If the desired position is not determined before inserting a new textbox, the new textbox will be inserted at the end of the view page.

1.3. Edit or delete a control

  • For each existing control, a pencil icon appears to the left of the control page to change or delete the control's settings.
  • Individual controls can be moved vertically on the view page using the Drag&Drop method. Moving consists of grabbing the control, preferably behind its name, and then dragging it to the desired location on the view page.
  • For security reasons, it is important to have the function of moving controls enabled using the “Drag&Drop” check box located above the toolbar with controls. This field is unchecked each time you log in to the application.

2. List of tabs in the control settings dialog

  • General – Setting general properties
  • Rights – Rights settings
  • Administration – Setting other properties

2.1. “General” tab

Obrázek.png

2.1.1. Name

  • The name of the control displayed on the preview page in a separate column with a colored background to the left of the text box itself.

2.1.2. Dictionary…

  • The dictionary lists the names of other controls, forms, view pages, categories, applications, and application groups used across the entire application.
  • The dictionary search is used to design the correct control name and to maintain the consistency of the nomenclature throughout the application so that controls with the same meaning located in different places in the application are named in the same way.

2.1.3. Data type

  • The data type defines the type or meaning of the values that the control can take.
  • The drop-down list contains the following data types:
    • Text string
    • Integer
    • Large integer
    • Decimal
    • Currency
    • Date
    • Time (hh:mm)
    • Time (hh:mm:ss)
    • E-mail
    • URL
    • Network link
    • Telephone number
    • IP address

2.1.4. Unit

  • The unit specifies a symbol (such as “%”) that appears to the right of the text box itself.

2.1.5. Width

  • The width of the control, expressed in pixels.

2.1.6. Value

  • The value is defined by the database query that is evaluated when the preview page is opened, and specifies the value displayed in the text box.
  • The value of the text field can be accessed using the variables “#textbox1#”, “#textbox2#”, “#textbox3#” etc. in the script. The index indicates the order of the textbox on the view page.

2.1.7. Options

  • Read only
    • The read-only control setting determines whether the text box should be disabled on the preview page.
    • It is not possible to enter values manually into the disabled field, the text field itself has a gray background, and the value text in this field is displayed in a different font than the rest of the controls.

2.2. “Rights” tab

Obrázek.png

2.2.1. Rights

  • Rights define a list of user groups and users who have permission to display the control on the view page.

2.2.2. Replace rights to other controls

  • The “Replace rights to other controls” feature is used to unify rights across the entire view page for controls that are related in terms of rights.
  • Thanks to the “Show…” link, it is possible to display a list of all controls on the view page, including the settings of the rights of these controls. For each control, a check box is displayed that allows you to select the control. When you save a control, the same rights are then set for those selected controls.
  • An alternative for unifying rights within the entire view page is to display the report available from the “Subordinate object rights” tab in the view page settings.

2.3. “Administration” tab

Obrázek.png

  • The “Administration” tab is only displayed for existing controls.

2.3.1. Location

  • Select the view page on which the control is located.
  • The drop-down list contains all view pages located in the same application.

3. Examples

3.1. Variables

  • #textbox1#
  • #textbox2#
  • #textbox3#