TESBCustomEdit Object Properties Methods Events |
Unit
QESBPCSEdit
Declaration
TESBCustomEdit = class(TCustomEdit)
Hierarchy
TCustomEdit <--TESBCustomEdit
Direct subclasses
TESBBaseEdit TESBPCSEdit
Description
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.
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 - require 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 |
![]() | AllowKbdNull | When Set to True, Ctrl-N will set a field to Null and the OnNull event will be called. |
![]() | AsString | Alternate property to Text for completion . |
![]() | AutoSize | Published property from TCustomEdit |
![]() | BlankWhenNull | When enabled, the Edit Box will display "Empty" when the Value is Null. |
![]() | Color_Defaults | When Set to True all the Color Properties will get their current Default Values. |
![]() | ColorDisabled | Color that the Control is displayed in if the Control is Disabled, ie Enabled := False. |
![]() | ColorFocus | Color that the Control is displayed in the Control is focused. |
![]() | ColorRO | Color that the Control is displayed in if the Control is ReadOnly. |
![]() | ColorRW | Color that the Control is displayed in if the Control is not ReadOnly, ie ReadWrite. |
![]() | Font | Published property from TCustomEdit |
![]() | HotTrack | When True and the Mouse is Over the control, then it will display using ColorFocus. |
![]() | Null | Boolean Flag to signify if the Value is Null - that is that no proper value is contained. |
![]() | NullStr | When Null is true, signifying that there is no proper value then this string is displayed. |
![]() | ParentFont | Published property from TCustomEdit |
![]() | ReadOnly | Boolean Flag to signify if the Control is ReadOnly. |
![]() | StoreValue | Boolean Flag to signify if the control should be store the design time value, or simply use the value it defaults to when created. |
![]() | Text | Overriden Text that still works the same way that the Standard TEdit property does, except it isn't stored. |
![]() | Version | Displays the Current Version of the Component. |
Introduced Methods |
![]() | BeginUpdate | Causes all Colour Updates to Wait until the EndUpdate is called | |
![]() | Create | ![]() | Creates the Edit Component. |
![]() | CutToClipboard | ![]() | |
![]() | EndUpdate | Causes all Colour Updates to wait from when BeginUpdate is called | |
![]() | IsClear | Returns True if the field is Clear | |
![]() | PasteFromClipboard | ![]() | |
![]() | SelectNone | Causes the Selection to be Removed | |
![]() | ValueStored | function to indicate whether value is stored in form |
Introduced Events |
![]() | OnCNKeyDown | Event called prior at the start of the Control Notification of key Down. |
![]() | OnEnter | Overriden OnEnter that still works much the same way that the Standard TEdit Event does. |
![]() | OnExit | Overriden OnExit that still works much the same way that the Standard TEdit Event does. |
![]() | OnKeyPress | Overriden OnKeyPress that still works much the same way that the Standard TEdit Event does. |
![]() | OnMouseEnter | Event is called when the Mouse enters the Control's Area. |
![]() | OnMouseExit | Event is called when the Mouse leaves the Control's Area. |
![]() | OnNull | This event is called if AllowKbdNull is true, and Ctrl-N is entered from the keyboard. |
|