DragItem.DropHeight

From Xojo Documentation

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

Supported for all project types and targets.

Height of the object being dropped.

Sample Code

The following code displays the values of the DropWidth and DropHeight properties after the drag. The code is in the DropObject event.

If obj.PictureAvailable Then
Me.Image = obj.Picture
ElseIf obj.FolderItemAvailable Then
Me.Image = Picture.Open(obj.FolderItem)
End If
Label1.Value = Str(obj.DropWidth)
Label2.Value = Str(obj.DropHeight)