(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
TSSTAdvancedComboBox.PasteEditText Method
Inserts text from the clipboard into the combo box's edit field.
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 PasteEditText();  
Parameters
None  
Return Values
This function does not return a value.
Remarks
If portions of the edit field's text were selected highlighted prior to the call the selected/highlighted text is replaced by the text from the clipboard.
If no text was selected prior to the call, the text from the clipboard is inserted at the caret's current position.
If the clipboard does not contain ANSI/ASCII text or its data cannot be converted into ANSI/ASCII text, the text in the combo box's edit field will not be modified.
The function does not invoke any Delphi SDK procedures, functions, or methods.
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, RemoveSelection, RetCanUndo, Undo, CanUndo.
 
Windows APIs: SendMessage, WM_PASTE, CountClipboardFormats, EnumClipboardFormats, GetClipboardFormatName, 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