<< Click to display table of contents >> TCustomSRVEdit |
TSRVEditControl is the base class for plain-text edit controls.
Unit SRVCustomEdit;
Syntax
TCustomSRVEdit = class(TSRVEditControl);
TObject
TPersistent
TComponent
TControl
TWinControl
Public properties
Property |
Type |
Default value |
Meaning |
---|---|---|---|
Alignment |
TAlignment |
taLeftJustify |
Horizontal text alignment (left/right/center). RTL BiDiMode inverts left and right alignments. |
CanUndo |
Boolean |
|
Read-only. Indicates whether the edit control contains changes that can be backed out. |
Modified |
Boolean |
|
Indicates whether the user edited the text of the edit control. |
ReadOnly |
Boolean |
False |
Determines whether the user can change the text of the edit control. |
SelText |
TRVUnicodeString |
|
Specifies the selected portion of the edit control's text. |
Transparent |
Boolean |
False |
Indicates whether the background is transparent. This property works only for editors inserted in TSRichViewEdit. |
See also properties inherited from TSRVWinControl.
Method |
Description |
---|---|
Clear |
Deletes all text from the edit control. |
ClearSelection |
Removes the selected text from the edit control. |
ClearUndo |
Clears the undo buffer so that no changes to the text can be backed out. |
CopyToClipboard |
Copies the selected text in the edit control to the Clipboard in CF_UNICODETEXT format. |
CutToClipboard |
Copies the selected text to the Clipboard in CF_UNICODETEXT format and then deletes the selection. |
PasteFromClipboard |
Pastes the contents of the Clipboard into edit control, replacing the current selection. |
Undo |
Backs out all changes in the undo buffer. |
See also methods inherited from TSRVWinControl.