CustomEditEnh Unit
Classes Types Vars Const

Description
Defines TCustomEditEnh and TEditEnh and related types. Essentially these are edit controls designed to use the mask processor defined in MaskEnh.

Classes
TCustomEditEnh  The base class for various Enhanced editor controls.
TEditEnh  The published variation of TCustomEditEnh.
TEditEnhButtonDef  This class is provided as an interface to manage the properties relating the button(s) of the TCustomEditEnh control and its derivatives.

Types
TEditEnhButtonState  The edit control supports three states relating to the use of the button and related button/control keys - these are mostly for internal checking but I make the state available for public reading in case it is of interest.
TEditEnhButtonStyle  Specifies what type of button to display.
TEditEnhDrawEvent  EditEnh event used to allow developer override of button drawing.
TEditEnhErrorEvent  EditEnh event used to allow developer override of mask error processing.
TEditEnhOptions  Set of options to control the behaviour of TCustomEditEnh and its derivatives.

Global Variables
EditEnh_BeepOnBadChar  Defaults to true so CustomEditEnh controls will beep (with sound controlled by EditEnh_BeepOnBadCharSound) when user inputs an invalid character.
EditEnh_BeepOnBadCharSound  Controls the sound issued when an invalid character is input into a CustomEditEnh control.
EditEnh_BeepOnValidateErr  Defaults to true so CustomEditEnh controls will beep (with sound controlled by EditEnh_BeepOnValidateErrSound) when the contents of a CustomEditEnh control fails validation.
EditEnh_BeepOnValidateErrSound  Controls the sound issued when a CustomEditEnh control fails validation.
EditEnh_BeepOverride  Defaults to true so that all beep functions are controlled by the global variables.
EditEnh_RepeatInit  This is a global defines (in milliseconds) the initial delay before an AutoRepeat button begins to repeat.
EditEnh_RepeatLock  This global variable controls concurrent access to the EditEnh_RepeatTimer global timer.
EditEnh_RepeatPause  This is a global defines (in milliseconds) the subsequent delays (after the initial delay defined by EditEnh_RepeatInit) for AutoRepeat button repeats.
EditEnh_RepeatTimer  This is a global timer used by all instances of CustomEditEnh controls that have "AutoRepeat := true" for their button properties.

Global Constants
CTL3DSHALLOW_DEFAULT  Constant controlling the default value of Ctl3DShallow properties in CustomEditEnh and derived types.
EE_VK_CTRLENTER  Simple constant representing the Key value of Ctrl+Enter in KeyPress routines.