Advantage TDataSet Descendant
Copies an image from a binary field onto the Windows clipboard.
procedure AdsImageToClipboard( strFldName : String );
|
strFldName |
Name of field image is stored in. |
Copies the image stored in the indicated field in the current record onto the Windows clipboard. The image is then available for clipboard operations such as pasting into other Windows applications. The image remains available until either another object is copied to the clipboard or the clipboard is cleared.
AdsTable1.FindKey( [‘Smith’] );
AdsTable1.AdsImageToClipboard( ‘Picture’ );