ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamControls.TJamDragFiles.BeginOleDrag

Starts an OLE file drag operation with a specified mouse button.

Syntax
Pascal
procedure BeginOleDrag(pButton: TMouseButton; pJamDragEffect: TJamDropEffect = deDefault);
Parameters 
Description 
pButton: TMouseButton 
The mouse button used for dragging.  
pJamDragEffect: TJamDropEffect = deDefault 
Optional: The drag effect that should be executed for this drag operation.  

Files property must contain the items that should be dragged. Usually this method need not to be called explicitly: It is called automatically when user drags a file inside DragControl. The OnBeginOleDrag event then occurs.