![]() |
(SST) ShlWAPIFunctionInfo Version 1.0 |
---|---|
Developer Reference |
Removes the selection highlighting from the text in the edit field of the combo box, 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 TSSTAdvancedComboBox object of interest). |
Syntax | |
---|---|
Procedure RemoveSelection(); |
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 combo box's actual text, irrespective of whether or not text was selected prior to the call (i.e. the combo box's text always remains unmodified). |
The function does not invoke any Delphi SDK procedures, functions, or methods. |
Example |
---|
Sample code |
Requirements | |
---|---|
Unit | (Declared and implemented in) SSTNewUnit.pas |
Library | SSTNewUnit.dcu/SSTNewUnit.obj |
Unicode | Implemented as ANSI version only. |
See Also |
---|
TSSTAdvancedComboBox, ClearEditText, ClearUndo, CopyEditText, CutEditText, PasteEditText, RetCanUndo, Undo, CanUndo. |
Windows APIs: SendMessage, CB_SETEDITSEL, GetLastError. |
Document/Contents version 1.00 Page/URI last updated on April 28, 2022 |
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017 |
Suggestions and comments mail to: webmaster@stoelzelsoftwaretech.com |