| TCustomEditEnh Object
Properties Methods |
Unit
CustomEditEnh
Declaration
TCustomEditEnh = class(TCustomEdit)
Description
The base class for various Enhanced editor controls. These controls
support enhanced mask processing (see TMaskEnh) and embedded buttons amongst
other things.
IMPORTANT: To have the control operate with PasswordChar you MUST specify
a mask. The simplest option is to choose a mask-mode of eemEditEnh and a
mask value of "cccccccccc;0;_" (where you specify as many "c" character
positions as required/permitted for the password.
| Introduced Public Properties |
| BorderStyle | |
| Color | |
| DBDisplayField | Returns a TObject reference, which is nil in the base class but is overridden in data-aware classes to return the field/column to which the control is tied. |
| Font | |
| IsMasked | Indicates whether mask processing active or not. |
| Mask | Reference to the TMaskEnh class of this control. |
| MaskChanging | MaskChanging property is for use in the Change event to detect changes that were due to changes in the mask. |
| Options | Operational properties of this control. |
| ReadOnly | Whether the control should be read-only, preventing user input. |
| Visible |
| Introduced Public Methods |
| BoundsChanged | |
Clear
|
Call to clear the contents of the control. |
Create
![]() | |
Destroy
![]() | |
EditBeginModify
|
Call to begin modification of control contents. |
EditCanModify
|
Call to find out if editing input is permitted to modify the contents of the control. |
| GetEditMaskEx | Called to retrieve a string that can be used to set both the mode and the mask at one time. |
HasActiveChild
|
Called to see if the control has some form of active child control. |
| SetCharCaseByOrdinal | Set the character case by ordinal (integer) value. |
| SetEditMaskEx | Called to set both the mask mode and the editmask from a single string parameter. |
ValidateEdit
|
Call to validate the contents of the control when masked. |