Purpose
Performs a drag & drop process.
Class
Type
Method
Syntax
<oBrowser>:Drag([<iStayInterval>]) Æ lSuccess
Arguments
<iStayInterval> | The time interval in milliseconds after expiration a bCellDragEvent with the DragModeBCDM_DRAGOVER is sent to the control under the mouse. If this argument is not specified, as default the value 400 is used. |
Data Type: | DWord |
Return Value
lSuccess | A logical value that indicates whether the drag & drop process could be performed. |
TRUE | The drag & drop process was performed. |
FALSE | The drag & drop process was not performed. |
Data Type: | Logic |
Description
bBrowser:Drag() performs a complete drag & drop process as follows:
1.It is examined whether the bBrowser is adjusted as drag & drop server and whether selected cells are present.
2.The selected cells are determined.
3.The method bBrowser:CellDragDrop() is called with the mode BCDM_DRAGSTART and thus the drag & drop process is started.
4.As long as the left pressed mouse button is not released or the Esc key is not pressed, the drag & drop process remains active.
5.If the drag & drop process were successfully executed, the method CellDragDrop() with the mode BCDM_DRAGEND is called.
6.If the Drag&Drop process were canceled, the method CellDragDrop() with the mode BCDM_DRAGCANCEL is called.
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_drag.htm