Set Drag Accept - GRID SENDMSG() Function 33 BBj


For this topic's original documentation, see Set Drag Accept - GRID SENDMSG() Function 33.

BBj-Specific Information

In BBj, Dragging is managed automatically, once this function has been called to receive drop operations. (Drag Start - GRID SENDMSG() Function 25 is no longer needed to initiate dragging operations, although it can be used to set the drag cursor.) If it is used, it will still change the drag cursor based on the cursor parameter (listed below), but it will not start the drag operation. This cursor will override any cursor set by SENDMSG() Function 78 – Set Cursor. There is always only one possible cursor for a grid, and a cursor cannot be set just for one particular drag operation. The text parameter in SENDMSG 25 will be ignored. 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