TcxDBTextEdit Class
A data-aware single-line text editor.
Declaration
TcxDBTextEdit = class(
TcxCustomTextEdit
)
Remarks
A single-line text editor allows users to edit a non-formatted string value stored in a database.
Main API Members
The list below outlines key members of the TcxDBTextEdit
class that allow you to configure plain text editors and manage their content.
- Bind the text editor to data (DataBinding).
- 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 store text editor settings and share them between multiple single-line text editors.
Inheritance
See Also