DragItem.Handle

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aDragItem.Handle

Supported for all project types and targets.

Returns the macOS handle to the DragItem. Handle returns 0 on Windows and Linux.

Sample Code

The following gets a handle to the DragItem.

d = New DragItem(Self, X, Y, Me.Width, Me.Height)
Var i As Integer = d.Handle