ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TOnShellDragOverEvent

user Drag-Over event, which is used in TJamShellTree and TJamShellList

Syntax
Pascal
TOnShellDragOverEvent = procedure (sender: TObject; DropTarget: TObject; DroppedFiles: TFilenames; KeyState: Longint; X, Y: LongInt; var CopyMode: TJamDropEffect) of object;
Parameters 
Description 
sender 
The sender of the event 
DropTarget 
The item the drop operation is performed on (a TJamShellTreeNode or TJamShellListItem. If no item but the background of a component was hit, contains the control (TJamShellList.  
DroppedFiles 
The files that are dragged. 
KeyState 
The keys pressed during the drag operation 
The X coordinate. 
The Y coordinate. 
CopyMode 
The TJamDropEffect Initially contains the default CopyMode set for the component (see e.g. TJamShellList.CopyMode. Contains deNone, if the DropTarget cannot be handled by the shell. Set this value if you want to specify the operation that will be executed on Drop. Switching deNone to something else for DropItems not handled by the shell will visualize the DropTarget as valid DropTarget.