class ColumnEntryfield
A single-line text input field in a grid column.
Syntax
These controls are created by assigning the appropriate editorType to the GridColumn object.
Properties
The following tables list the properties and events of interest in the ColumnEntryfield class. (No methods are associated with this class.)
Property |
Default |
Description |
COLUMNENTRYFIELD |
Identifies the object as an instance of the ColumnEntryfield class | |
(COLUMNENTRYFIELD) |
Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName | |
|
The color of the text in the ColumnEntryfield object when the object has focus | |
WindowText |
The color of the text in the ColumnEntryfield object when the object does not have focus | |
|
A text formatting function | |
|
The memo editor control used when editing a memo field | |
|
Formatting template | |
Invalid input |
The message that is displayed when the valid event fails | |
|
The value currently displayed in the ColumnEntryfield object
| |
Event |
Parameters |
Description |
<char expN>, |
When a key is pressed. Return value may change or cancel keystroke. | |
|
When attempting to remove focus. Must return true, or focus remains.
|
The following table lists the common properties, events, and methods of the ColumnEntryfield class:
Description
A ColumnEntryfield is a simplified Entryfield control in a grid column. When the enumerated editorType property of a GridColumn control is set to Entryfield, the column uses a ColumnEntryfield control, which is accessible through the GridColumn object’s editorControl property.
As with all column controls, the dataLink
and width for the control is
in the parent GridColumn object, not the control itself. The height
is controlled by the cellHeight
of the grid.
If a mouse event is implemented for this control it overrides the matching
grid level event.