![]() |
(SST) ShlWAPIFunctionInfo Version 1.0 |
---|---|
Developer Reference |
Removes the selection highlighting from the text in the in-place edit field of the TlistItem that is currently being edited. leaving the actual text unaltered. |
Scope |
---|
Public (i.e. this method can be referenced from any code, including that in other units, with access to the TSSTAdvancedListView object of interest). |
Syntax | |
---|---|
Procedure ClearEditSel(); |
Parameters | |
---|---|
None |
Return Values |
---|
This function does not return a value. |
Remarks |
---|
After calling this method any portion of the text that may have previously been selected is no longer selected or highlighted/marked as such. |
The method never modifies the in-place edit field's text, irrespective of whether text in the edit field was selected prior to the call or not (i.e. calling this method has no effect on the TListItem's caption). |
The method is only effective while the read-only EditHandle property returns a valid handle to the in-place edit control/field. |
After having removed the selection highlighting, the method places the caret at the end of text. |
Requirements | |
---|---|
Unit | (Declared and implemented in) SSTNewUnit.pas |
Library | SSTNewUnit.dcu/SSTNewUnit.obj |
Unicode | Implemented as ANSI version only. |
See Also |
---|
TSSTAdvancedListView, Methods, EditSelectAll, CutEditText, CopyEditText, PasteEditText, ClearEditText, EditHandle, CopyCaptionsText. |
Windows APIs: EM_SETSEL. |
Document/Contents version 1.00 Page/URI last updated on April 30, 2022 |
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017 |
Suggestions and comments mail to: webmaster@stoelzelsoftwaretech.com |