(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
TSSTAdvancedListView.CopyCaptionsText Method
Copies the captions of the currently selected TListItems in a TSSTAdvancedListView to the Windows clipboard.
Public (i.e. this method can be referenced from any code, including that in other units, with access to the TSSTAdvancedListView object of interest).
Procedure CopyCaptionsText();  
Return Values
This function does not return a value.
If the TListView does not contain any items or the Selected property of all items reads False, the method only empties the clipboard.
The function only copies the captions of the TlistItems (i.e. no other data, such as position, check state, etc. is copied).
Only the caption of the "main" item is copied, not that of any sub-item.
The function iterates through all items in the TListView to determine if an item is selected or not.
Sample code
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
Unicode Implemented as ANSI version only.
See Also
TSSTAdvancedListView, Methods, FindText, CopyEditText.
Windows APIs: CF_TEXT.

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: