TcxTextEdit Class
An unbound single-line text editor.
Declaration
TcxTextEdit = class(
TcxCustomTextEdit
)
Remarks
A single-line text editor allows users to edit a non-formatted string value.
Main API Members
The list below outlines key members of the TcxTextEdit
class that allow you to configure plain text editors and manage their content.
- 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).
Repository Item Class
You can create a TcxEditRepositoryTextItem component in an edit repository to define an unbound single-line editor, store editor settings, and share them between multiple single-line text editors.
Inheritance
See Also