Drag Start - GRID SENDMSG() Function 25 BBj

For this topic's original documentation, see Drag Start - GRID SENDMSG() Function 25.

BBj-Specific Information

In BBj, Dragging is managed automatically, once Set Drag Accept - GRID SENDMSG() Function 33 has been called to receive drop operations. Drag Start - GRID SENDMSG() Function 25 is no longer needed to initiate dragging operations. If it is used, it will still change the drag cursor based on the cursor parameter, but it will not start the drag operation. The drag cursor set by this function overrides any cursor set by Set Cursor - GRID SENDMSG() Function 78. There is always only one possible cursor for a grid. A cursor cannot be set for one particular drag operation. The text being dragged is always the text that is within the cell that was selected when dragging began. It is possible to perform drag and drop operations between any grids in the same BASIS IDE in which SENDMSG() Function 33 have been set.

Value

Cursor Type

Default or -1

Hand

0 or 13

Wait

1

Default system

2

Crosshair

3

Text I-Beam

7

Move (NSEW arrows)

8

North-east resize

10

North-west resize

12

North resize

In BBj, this function's string$ parameter is ignored. The drag and drop operation inserts contents of the source cell into destination cell.