Table of Contents

Control Properties

Each form control has a set of properties that define how it functions. The properties may change based on the type of control, but there are some basic properties that are used by all controls.

Common Properties

Certain properties are found on most controls. These common properties are described below. Properties that are specific to a type of control are then discussed in the following sections.

400

  1. This option is not displayed for File Upload, Signature, and Button controls.

Control Options

There a six “control options” available.

Control Events

Control Events are managed on the “ControlEvents” tab for a specific control. At this time (v2.2) only one event and one action are available. Additional events & actions are planned for future versions of Versago.

The only available event is “OnLostFocus”. This means that the associated action occurs when the cursor leaves the field where the event is enabled. The only available action is “FormFind”. When the “OnLostFocus” is triggered, the information related to the record in the field is automatically retrieved and the form is populated. Because the “FormFind” is the only action available, a control event should only be applied on the primary key field of the form.

If this control event is enabled the primary key field must also be enabled. This allows the user to enter the field, enter a record (primary key) number, and exit the field to trigger the FormFind action.

Keep in mind that this approach to opening an existing record does not allow for any security control. Any user that can access the form can access any record associated with the form. A better approach may be to create a report that provides an Action Link to open the form. In this way a user can be limited to a certain subset of records.

Control-Specific Properties

Date Picker Controls

Formatting is available for Date and Time Picker controls using the Format function.

  1. Be sure the Control Type is Date Picker.
  2. Set the Format to Date or DateTime.
  3. Select the desired Culture from the list
    1. Also select the desired time format (12 hour or 24 hour) if you are also capturing a time value.
    2. If your Format is Date, the user will not see an icon to set the time value. The time value will be saved as midnight (00:00.000)
    3. If your Format is DateTime, the user will also see an icon to set the time value. The time value will be saved based on the user-entered value.

Time Picker

  1. Be sure the Control Type is Time Picker.
  2. Set the Format to DateTime.
  3. Select the desired Culture from the list
  4. When a Time Picker is used the date is saved as 01-01-1900 and the time is saved based on the user entered value.

Numeric Text Box

Formatting is available for Numeric Text Box controls using the Format and Decimal Place functions. There are three general options for formatting numeric values: None, Decimal, or Currency.

  1. Set Format to -Select-.
  2. Set Decimal Place to 0 (zero).
  3. The number in the field is set to a whole number (integer). Any values entered to the right of a decimal point are truncated.

  1. Set Format to Decimal_2.
  2. Set the desired number of decimal places (up to 6).
    1. A value of 0 is automatically interpreted as 2.
    2. The decimal value is rounded if more than the specified number of characters is entered to the right of the decimal point.

  1. Set Format to Currency.
  2. Select the desired Culture from the drop-down list.
  3. Set the desired number of decimal places (up to 6).
    1. A value of 0 is automatically interpreted as 2.
    2. The decimal value is rounded if more than the specified number of characters is entered to the right of the decimal point.

Lookup Report

Lookup Reports are available for Text Box and Drop-down List/Dynamic List controls.

See Lookup Reports for information on configuring and using Lookup Reports.

See Dynamic Drop-down Lists for information on configuring and using Dynamic List lookup reports.

Image Control

The Image control is used to display an image in the form presentation. Images are most commonly used in a grid (form details) control to display things like items in an order form. However, there is no restriction against using an image control in the main (header) section of the form as well. An example might be displaying the item associated with a Service Call, or displaying the logo of a company in an order entry form.

Image Control

The data type of the underlying database field is Text. This is because the data is actually a file path pointer to the location of the image file, which is stored on disk. The file path information is saved as part of the form data. The image can then be displayed in a report associated with the form.

The Format drop-down selection defines the size of the image in the form. Two options are available: 45 x 45 pixels and 65 x 65 pixels. A large image is displayed when the user hovers over the image on the form, and an even large image is displayed as a pop-out when the user clicks on the image.