TcxCustomTextEdit Class
The base class for plain text editors.
#Declaration
TcxCustomTextEdit = class(
TcxCustomEdit,
IcxFormatControllerListener
)
#Remarks
The TcxCustomTextEdit
class implements the core functionality of all plain text editors shipped with the ExpressEditors Library.
#Main API Members
The list below outlines key members of the TcxCustomTextEdit
class that allow you to configure plain text editors and manage their content.
- Identify the actual editor settings class (GetPropertiesClass).
- Display a hint message when the editor is empty (TextHint).
- Customize editor settings (Properties).
- Assign a repository item as an external source of editor settings (RepositoryItem).
- Identify active editor settings (ActiveProperties).
- Disable or enable the editor (Enabled).
- Specify if the editor is transparent in GDI render mode (Transparent).
- Configure look & feel and base editor appearance settings (Style).
- Define individual appearance settings for different editor states (StyleDisabled, StyleFocused, and StyleHot).
- Resize editor dimensions (Width and Height).
- Specify if the editor automatically adjusts its size to fit content (AutoSize).
- Select text (SelLength, SelStart, SetSelection, and SelectAll).
- Clear content selection (ClearSelection).
- Identify the caret position within the editor (CursorPos).
- Perform clipboard operations (CopyToClipboard, CutToClipboard, and PasteFromClipboard).
- Identify if the editor is in read-only mode (CanModify).
- Access and modify editor content (EditingText).
- Undo the last content change while the editor remains focused (Undo).
- Clear the editor (Clear).
- Specify if the text editor uses its parent color to fill the background area (ParentColor).
#Terminal TcxCustomTextEdit Class Descendants
Terminal TcxCustomTextEdit
class descendants include all unbound and data-aware plain text editors shipped with the ExpressEditors Library. Do not create TcxCustomTextEdit
class instances. Use the following descendants instead:
#Unbound Plain Text Editors
- TcxCurrencyEdit
- An unbound currency editor.
- TcxHyperLinkEdit
- An unbound hyperlink editor.
- TcxMaskEdit
- TcxMaskEdit implements a generic masked edit control.
- TcxTextEdit
- An unbound single-line text editor.
- TdxTokenEdit
- An unbound token editor.
#Data-Aware Plain Text Editors
- TcxDBCurrencyEdit
- A data-aware currency editor.
- TcxDBHyperLinkEdit
- A data-aware hyperlink editor.
- TcxDBMaskEdit
- Represents a masked editor that enables displaying and editing text fields within a dataset.
- TcxDBTextEdit
- A data-aware single-line text editor.
- TdxDBTokenEdit
- A data-aware token editor.