TESBPCSEdit Component
Properties Methods Events
Enhanced Edit Control with Enhanced Color Changing.

Unit
QESBPCSEdit

Declaration
TESBPCSEdit = class(TESBCustomEdit)

Hierarchy
TCustomEdit <--TESBCustomEdit <--TESBPCSEdit

Subclasses
None

Description
Includes Methods to return the Text already Trimmed and in different cases.

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.

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.

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
AutoAdvance When True and MaxLength > 0 then when the last character is entered the focus moves to the next control.
AutoSelect Published property from TCustomEdit
AutoSize Published property from TCustomEdit
BlankIsNull At Runtime, if on Exiting the Field and the Field is not ReadOnly and has Value of '' then it will be set to Null if this property is true.
BorderStyle Published property from TCustomEdit
CharCase Published property from TCustomEdit
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 Published property from TCustomEdit
ParentShowHint Published property from TCustomEdit
PopupMenu Published property from TCustomEdit
ProperAdjust When True converts text into Proper Case when the control is exited.
ShowHint Published property from TCustomEdit
TabOrder Published property from TCustomEdit
TabStop Published property from TCustomEdit
Text Overriden Text that still works the same way that the Standard TEdit property does.
TrimLeading When True Trims leading spaces when the control is exited.
TrimTrailing When True Trims trailing spaces when the control is exited.
Visible Published property from TCustomEdit

Introduced Methods
Create  Creates the Edit Component.
LowerText  Returns the Text in Lower Case using AnsiLowerCase.
ProperText  Returns the Text in Proper Case using ESBProperStr.
TrimmedText  Returns the Text trimmed of leading and trailing spaces.
UpperText  Returns the Text in Upper Case using AnsiUpperCase.

Introduced Events
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
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