Vcl.StdCtrls.TCustomEdit.SelText
Delphi
property SelText: string read GetSelText write SetSelText;
C++
__property System::UnicodeString SelText = {read=GetSelText, write=SetSelText};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomEdit |
Description
Specifies the selected portion of the edit control's text.
Read SelText to determine the value of the selected text. Set SelText to replace the selected text with a new string. If there is no selection, but the edit control has focus, set SelText to insert a new string into the text at the cursor.
See Also
Code Examples