AMT Help Files

System Enums

The following system enumerations are defined for AMT applications:

 

Enum Description Values Used by 
SE-BorderStyle The style of the border for the layout control. None | Single | Underline Datagrid Editbox & Maskeditbox columns 
SE-ColumnType The (layout) Column type of a Datagrid column. Label | EditBox | CheckBox | ComboBox | Image | Calendar | MaskEditBox Datagrid columns 
SE-ComboBoxSelected Determines if an item should be selected in a ComboBox when the object is not set to a value and has no default value.

Options:
  • None - The default setting, if the object is not set to a value and has no default value, then no item is selected.
  • First - If the object is not set to a value and has no default value, then the first item is selected.
First | None Datagrid Combobox column
SE-ComboBoxStyle Display style for the column.

Through a simple combo box, end users can send a manually typed value or a value that corresponds with a selected item.

Through a dropdown list, end users send values for the "prefilled" items. So, in combo boxes with this style, it is not possible to type in values manually.

Through a dropdown combo box, end users can send a manually typed value or a value that corresponds with a selected item. If a dropdown action follows after typing a value, AMT will first look if the typed text corresponds with a value and then (if the value doesn't exist) it will look if it exists as an item name. If the typed value was not found (neither as value nor as item), then there will be no selection.

Example:
Suppose that a combobox with the Style "dropdown" contains a record with an item called "ABC" and the value "1". If an enduser types "1" in this combobox and then expands it, the item "ABC" will be selected. If the end user now presses "Enter", the value "1" will be sent.
DropDownList | DropDown | Simple Datagrid Combobox column
SE-DecimalChar Character that is used as separator in decimal values. Default | Period | Comma Datagrid Editbox & Label columns
SE-DropDownListSize The width of the drop down list in a Datagrid ComboBox column.

Options:
  • Combobox, the drop down list has the same width as the combobox itself. This is the default behaviour.
  • Auto, the drop down list will be the same width as the largest item in the list.
Auto | Combobox Datagrid Combobox column
SE-ForcedDecimalKey If set to True, then values that are specified in the layout control will be rejected if they don't contain the decimal character.
Entering 0 (zero) is still allowed even when ForceDecimalKey is set to True.

If set to False, the decimals may be omitted.

If set to none, values that contain a decimal character will be rejected. The last digits entered will be used as decimals.
E.g. on an numeric field with two decimals and ForceDecimalKey set to none, entering 299 will be interpreted as 2.99

If set to default, this option will work according to the global application setting.
Default | True | False | None Datagrid Editbox column
SE-ShowLoadingZeros The number of leading zeros to be displayed.
If set to "None", no zero will be displayed for the numeric value.
If set to "One", a zero will only be shown if the value is zero.
If set to "All", and the value contains less characters than the valuelength supports, the value is completed with leading zeros until the full valuelength is displayed.
If set to "AllExcept0" the value will show all leading zeros, except when the value is 0.
None | One | All | AllExcept0 Datagrid Editbox & Label columns
SE-TextAlignment The alignment of text can be changed in the code definition.

For the value of the alignment property, the system enumeration "SE-TextAlignment" should be used.

Example: <LabelColumnVariable>.Alignment := SE-TextAlignment.CenterJustify
LeftJustify | CenterJustify | RightJustify Datagrid Editbox & Label columns, Graphical print layout Labels & Memos
SE-ThousandSeparator Separator that is displayed in numeric values between every three digits counted from the right. Default | Period | Comma | Apostrophe | None Datagrid Editbox & Label columns
SE-Type The data type of the Datagrid column. Alpha | Numeric | Signed | Financial | Boolean | String Datagrid columns