Element description

Previous  Top  Next

7 types of elements are used to create a dialog box. All of them can be found on the toolbar.

_bm0      to the selection mode (default)   
_bm1      "IntEdit" element   
_bm2      "Edit" element   
_bm3      "DateEdit" element   
_bm4      "FloatEdit" element   
_bm5      "List" element   
_bm6      "Table" element   
_bm7      "Check" element   


The descriptions of dialog elements can be found in the following table:

Type
Purpose
Properties
Field "Text"
Field "Value"
IntEdit
Input an integer value
General
Visible integer value as a string
Visible integer value as a string
Edit
Input a string
General
Visible text
Visible text
DateEdit
Input a date value (with a built-in calendar)
General
Visible date value
Date in the "YYYYMMDD" format
FloatEdit
Input a real value
General
Visible real value as a string
Visible real value as a string
List
Choose an item from list
Advanced
Visible text
Item number from '0'. If not selected then '–1'
Table
Choose a value from the database
Advanced
Visible text
The appropriate value of a field, specified in the property "Value field" (as a string)
Check
On/off switch
General
String "On" or "Off"
String "1" or "0"



General properties of dialog elements

Name
- the formal internal name (identifier) of a dialog element.
Header
- the header (or caption) of a dialog element.
Width
- the total width (length) of a dialog element.
X position
- the horizontal position of the upper-left corner of a dialog element.
Y position
- the vertical position of the upper-left corner of a dialog element.
Default value
- the value assigned to a dialog element after its creation. The format of the value must coincide with the format of the "value" field for this dialog element.


All types of dialog elements have general properties. Only "Table" and "List" have
additional properties.