TElectronDragAndDrop
TElectronDragAndDrop
Below is a list of available methods for TElectronDragAndDrop
. This class allows dragging items out of an Electron application. For detailed information please take a look at the Drag and drop
part of the documentation. Instead of creating a TElectronDragAndDrop
instance, ElectronDragAndDrop
can be used.
Property | Description |
---|---|
ListenToDrag(IconPath: string) | Method to listen for dragging events and set the icon path for the dragging. On Windows an empty path might be accepted, on other platforms it's required to have a valid icon path. |
ListenToDrag(Listener: TIPCEventHandler) | Method to listen for dragging events. The icon and additional code needs to be added in the Listener . |
StartDrag(PathToItem: string) | Method to set the file path to be dragged out of the application. |