Navigation:  Classes > bBrowser >

bBrowser:Drag()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Performs a drag & drop process.

Class

bBrowser

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

lSuccessA logical value that indicates whether the drag & drop process could be performed.
TRUEThe drag & drop process was performed.
FALSEThe 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

bBrowser:CellDragDrop()

bBrowser:DragDropMode

bBrowser:InDrag()

bSample - DragDrop

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_drag.htm