TESBBaseEdit Object
Properties Methods Events
Enhanced Base Edit Control that forms the basis for the various Type Specific Edit Controls.

Unit
QESBPCSEdit

Declaration
TESBBaseEdit = class(TESBCustomEdit)

Hierarchy
TCustomEdit <--TESBCustomEdit <--TESBBaseEdit

Direct subclasses
TESBBaseNumericEdit TESBHexEdit TESBIPEdit TESBSciFloatEdit

Description
This Component is not actually used itself but as the Parent of the other controls.

This adds Replacement Methods and framework for Bounds Validation.

Edit Control has ReadOnly Color Changing. Includes Methods to return the Text already Trimmed and in different cases.

OnMouseEnter & OnMouseExit - allow you to set up your own "hot" controls if the Flat look'n'feel is not what you are after.

Null allows an edit field to be marked as having no proper value, and it will then display whatever NullStr is set to. Ctrl-N is the Keyboard entry for Null if AllowKbdNull is true. OnNullEvent is called when the Keyboard entry of Null is permitted.

ColorRW replaces the normal Color Property of Standard Edit Controls.

By default Read Only fields will be shown in a different Color, to disable this set ColorRW and ColorRO to the same, eg clWindow. clBtnFace is often a better choice for ColorRO on older Video Cards and older Notebooks

ColorFocus can be used so that the Color of the edit field changes when it receives focus (provided it is not ReadOnly). To use this feature ColorFocus must be set to a different value than ColorRW but beware the various Color combinations that result.

ColorDisabled controls the Color of the Control when Disabled, ie Enabled := False.

If ESBEnterAsTab is true then the Enter Key will be treated as though it were the Tab Key.

If ESBEscAsUndo is true then the Esc Key will be cause an Undo to occur in the field - requires Delphi 7 or Kylix 3.

If Arrows is False and ESBArrowsAsTab is true then Up Arrow will move to previous field like Shift-Tab, and Down Arrow will move to next field like Tab.



Introduced Properties
Align Published property from TCustomEdit
Alignment Published property from TCustomEdit
Anchors Published property from TCustomEdit
AutoSelect Published property from TCustomEdit
AutoSize Published property from TCustomEdit
BorderStyle Published property from TCustomEdit
BoundsEnabled This controls whether Bound Validation Checking and resultant Error Messages will be displayed.
CharCase Published property from TCustomEdit
ColorFontNeg Font Color for the field when it contains a Negative Value.
ColorFontPos Font Color for the field when it contains a non-Negative Value Color is changed, if required, when the field is exited.
Constraints Published property from TCustomEdit
DragMode Published property from TCustomEdit
EchoMode Published property from TCustomEdit
Enabled Published property from TCustomEdit
HideSelection Published property from TCustomEdit
MaxLength Overriden MaxLength that still works the same way that the Standard TEdit property does.
ParentShowHint Published property from TCustomEdit
PopupMenu Published property from TCustomEdit
ShowHint Published property from TCustomEdit
TabOrder Published property from TCustomEdit
TabStop Published property from TCustomEdit
Visible Published property from TCustomEdit

Introduced Methods
Create  Creates the Edit Component.

Introduced Events
OnBoundsError Allows the User to handle the Bounds Validation Error.
OnChange Published property from TCustomEdit
OnClick Published property from TCustomEdit
OnContextPopup Published property from TCustomEdit
OnDblClick Published property from TCustomEdit
OnDragDrop Published property from TCustomEdit
OnDragOver Published property from TCustomEdit
OnEndDrag Published property from TCustomEdit
OnExitStart Exit Start Event is called at the start of the DoExit but before the final conversion of text to value and before any Bounds Checking or Conversion Checking is done.
OnKeyDown Published property from TCustomEdit
OnKeyString Published property from TCustomEdit
OnKeyUp Published property from TCustomEdit
OnMouseDown Published property from TCustomEdit
OnMouseMove Published property from TCustomEdit
OnMouseUp Published property from TCustomEdit
OnMouseWheel Published property from TCustomEdit
OnMouseWheelDown Published property from TCustomEdit
OnMouseWheelUp Published property from TCustomEdit
OnReturnPressed Published property from TCustomEdit
OnStartDrag Published property from TCustomEdit


HTML generated by Time2HELP
http://www.time2help.com