Type | Name | Description | Notes |
Direction | alignment | Contains the alignment of the text inside the DbField. The text can be right-aligned (right ), left-aligned (left ), or center-aligned (center ). This property applies only if the style is one of the following:
IliEntryFieldStyle
IliTextStyle
IliTableComboBoxStyle
| |
String | columnName | Contains the column name that the gadget must connect to. The column name must designate a valid column of the data source. | |
Boolean | completion | This property is true if completion is enabled for the field. The completion mechanism allows an incomplete textual representation to be completed using the foreign table. This allows the user to enter the initial characters of a word and have the field automatically complete the word. This property applies only if the style is IliTableComboBoxStyle. | |
Boolean | constrained | This property is true if the foreign table limits the set of possible internal values for this field. This property applies only if the style is IliTableComboBoxStyle . | |
IliDataSource | dataSource | Contains the data source object. This property cannot be written to if the dataSourceName property is not empty. In other words, the data source can be specified either literally through the dataSource property or by name through the dataSourceName property, but not both. | |
String | dataSourceName | Contains the data source name. | |
String | foreignDataSourceName | Contains the foreign data source name. This property applies only if the style is one of the following:
IliTableComboBoxStyle
IliToggleStyle
IliOptionMenuStyle
IliToggleSelectorStyle
IliStringListStyle
| |
String | foreignDisplayColumnName | Contains the foreign display column name. This property applies only if the style is one of the following:
IliTableComboBoxStyle
IliToggleStyle
IliOptionMenuStyle
IliToggleSelectorStyle
IliStringListStyle
| |
IliTable | foreignTable | Contains the foreign table. This property cannot be written to if the foreignDataSourceName property is not empty. In other words, the foreign table can be specified either literally through the foreignTable property or by name through the foreignDataSourceName property, but not both. This property applies only if the style is one of the following:
IliTableComboBoxStyle
IliToggleStyle
IliOptionMenuStyle
IliToggleSelectorStyle
IliStringListStyle
| |
String | foreignValueColumnName | Contains the foreign value column name. This property applies only if the style is one of the following:
IliTableComboBoxStyle
IliToggleStyle
IliOptionMenuStyle
IliToggleSelectorStyle
IliStringListStyle
| |
String | format | Contains the format used to display the value in a textual form. Note that the format will be temporarily disabled when the entry field gains the focus (if it is editable). This property only applies when the style is one of the following:
IliEntryFieldStyle
IliTableComboBoxStyle
| |
String | label | Contains the label text. The label serves as a caption (or title) for the gadget. It should not be confused with the label property of the IlvTextField class, which holds a textual representation of the value. | |
Color | labelColor | Contains the label color. | |
Font | labelFont | Contains the label font. | |
String | mask | Contains the mask used to edit values in the field. This property only applies when the style is one of the following:
IliEntryFieldStyle
IliTableComboBoxStyle
| |
Int | maxLength | Contains the maximum number of characters the user can type in a DbField. If maxLength has a negative value, it means that there is no limit. This property only applies when the style is one of the following:
IliEntryFieldStyle
IliTableComboBoxStyle
| |
Boolean | readOnly | This property is true if the gadget is read-only. | |
IliDbFieldStyle | style | Contains the DbField style. It can be one of the following values:
IliEntryFieldStyle
IliTextStyle
IliTableComboBoxStyle
IliToggleStyle
IliOptionMenuStyle
IliToggleSelectorStyle
IliStringListStyle
| |
IlvGadget | subField | Contains the gadget object that corresponds to the DbField style. If the style is IliEntryFieldStyle , the subField property contains an IliEntryField gadget. If the style is IliTextStyle , it contains an IliDbText gadget, and so on. | read-only |
String | tablePropertyManagerName | Contains the name of the table property manager used by this gadget or null if the data source's table property manager is used. Initially, this property is null . | |
Boolean | useTableProperties | Contains true if the gadget uses table properties. Note that the gadget will effectively use table properties if this property is true and if the data source to which it is connected is also using table properties. Initially, this property is true . | |
Variant | value | Contains the value of the DbField. The type of this property depends on the column's data type. | |
Datatype | valueType | Contains the data type of the value. Its string representation can be one of the following:
String
Integer
Boolean
Double
Float
Decimal
Date
Time
Although this property is not read-only, it should not be assigned if the entry field is connected to a data source. | |
Int | visibleRowsCount | If the style of the DbField is IliTableComboBoxStyle , the visibleRowsCount property of the table-combo-box is set to this value. See the description of the visibleRowsCount property in the class IliTableComboBox for more information. | |
Void | putLabelAtLeft() | Changes the position of the label so that it appears to the left of the gadget. This method has no effect if the style is one of the following:
IliToggleStyle
IliToggleSelectorStyle
| |
Void | putLabelOnTop() | Changes the position of the label so that it appears above the gadget. This method has no effect if the style is one of the following:
IliToggleStyle
IliToggleSelectorStyle
| |