Scheme fields are fields that will be presented on user interfaces. Fields can be displayed using many different controls. Because data must be presented to the end user as simple and efficient as possible, the definition of fields should be very well considered. The appearance and behaviour of fields can also be defined using field settings. Appearance properties can be defined in order to specify visible aspect or visual format of the data displayed.
Appearance Properties
Appearance properties can be defined in order to specify visible aspect or visual format of the data displayed.
Property | Description |
---|---|
Caption | Property specifies the title of the column. Title shortly describes the meaning or the content of the field or column. |
CaptionImage | Property specifies the image displayed in the header of the field. Using images application can be made clear and easy to use. If no image is selected, no image will be displayed in the header. |
CaptionMode | Specifies the type of the header in the column. Header can contain text, image or both. If text and image is selected both must be defined with properties Caption and Caption Image. |
Category | Specifies the section this field belongs to in edit mode. Fields are also categorized in band views and advanced band views. |
Description | Specifies short description of the field and it's content. For the better understanding of the fields and their content it is important that fields are described in one or two short and clear statements. This description is visible in the runtime when editing the record. |
EditorVisible | If property is set to True, field is visible in edit mode. If property is set to False, field will not be visible in edit mode, but it will be visible in normal mode. |
Fixed | If property is set to Left or Right, field is always on the left or right side of the grid. It cannot be scrolled out of sight. This is useful in cases when some fields are so important that they must be on display at all time. |
Visible | If property is set to True, field is visible in user interface in normal, display, mode. |
Width | Property specifies the width of the field. It is important to optimize widths of columns so that more columns are visible. |
Bands Properties
Bands property is used when defining advanced band view.
Property | Description |
BandRowIndex | In advanced band view more than one fields can be displayed in one row. Property defines succession number in a row for this field. |
Behaviour Properties
Behavior properties specify the manner the data behaves in a control.
Property | Description |
---|---|
AutoReset | If property is set to True, value of the field is set to default value when editing the field. This is appropriate when editing a field does not depend on previous value. |
Cloneable | If property is set to True, value of the field is copied to new record when Copy current record option is clicked in the grid. |
Editable | If property is set to True, field is shown and can be edited in an edit mode. If property is set to False, field is not visible. |
Key | If property is set to True, field is used as a primary key for the selected schema. This is useful in several cases such as when audit trail is implemented on selected data source. Only one field can be set to True. If another is set to True, previously sat field is set to False. |
ReadOnly | If property is set to False, field is read only in a grid. In edit mode it will be visible but it will not be editable. |
Design Properties
These properties define basic properties of the field.
Property | Description |
---|---|
DataType | Specifies the data type of the selected object. With data type constraints are related and depend on. Data types such as Byte, Short, Integer, Long, Float, Double, Decimal, Date, Char, String, , Image, Xml, Currency, GUID, etc. are available. |
Name | Property specifies the name of the field. Name is not visible on user interface. Name is visible on different items of the application and is used to define behaviour and data bindings. |