Purpose
A callback method for drag & drop between two bBrowsers.
Class
Type
Method
Syntax
<oBrowser>:CellDragDrop(
<iMode>,
<hDragOwner>,
<hDragData>
) Æ lSuccess
Arguments
<iMode> | Mode for the dag & drop process. The following modes are supported: |
Mode |
Description |
Return Value |
BCDM_DRAGSTART |
The drag & drop process is started.
Note |
The return value FALSE stops the drag & drop process. |
BCDM_DRAGOVER |
The mouse pointer is over a bBrowser.
Note |
The return value FALSE signals to the server that the client does not support the drag & drop operation. The mouse pointer is shown as crossed out circle. |
BCDM_DROP |
The pressed left mouse button was released and thus the cells over the client was dropped.
Note |
The return value has no effect. |
BCDM_DRAGEND |
The drag & drop process was successfully executed.
Note |
The return value has no effect. |
BCDM_DRAGCANCEL |
The drag & drop process was canceled.
Note |
The return value has no effect. |
Data type: | DWord |
<hDragOwner> | Window handle of the bBrowser (server) in that the drag & drop process was started. |
Data type: | Ptr |
<hDragData> | Data to the drag & drop process. |
Data type: | Ptr |
Return Value
lSuccess | A logical value that indicates whether the drag & drop process was correctly processed. |
Data type: | Logic |
Description
bBrowser:CellDragDrop() is a callback method that is called during a drag & drop process. The method checks whether a method with the same name is defined in the owner of the bBrowser and calls this with an object of class bCellDragEvent as argument.
The entire drag & drop process is divided into several modes that can occur in the server and/or in the client. For each mode the browser calls the method CellDragDrop() with the appropriate mode. The owner of the browser can react by means of its own CellDragDrop() method to these modes.
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_celldragdrop.htm