[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Implements the clipboard Copy (Ctrl+C) command.
Source position: dbctrls.pp line 1197
protected procedure TDBImage.DoCopyToClipboard; |
DoCopyToClipboard is a procedure used to implement the clipboard Copy (Ctrl+C) command. DoCopyToClipboard assigns the Picture in the control to the Clipboard for the application.
For the Windows platform, the TBitmap format is expected in Picture. For all other platforms, the TPortableNetworkGraphic format is expected. DoCopyToClipboard calls the AddFormat method in Clipboard when needed. If Picture uses a Graphic format other than expected, it is written to a memory stream and loaded into the Clipboard using the newly registered graphic format.
|
Contains the image displayed in the control. |
|
|
Acquires ownership of the Clipboard and adds a format. |
|
|
Represents the clipboard on platforms supported for the LCL. |
|
|
Abstract base class used for images in supported image formats. |
|
|
Implements a FCL-compatible reader/writer for a Bitmap image. |
|
|
Implements support for the PNG image format. |
Version 4.0 | Generated 2025-05-03 | Home |