Command PV Get drop info

4D View

PV Get drop info

version 6.8


PV Get drop info (area; option) Longint

ParameterTypeDescription
areaLongint4D View area
optionLongintOption number

Function result Longint Option value

Description

The PV Get drop info command returns the drag and drop property value for the specified option.

The PV Drop info constants are used to define option:

pv drag X offset

To use in the drag area. Returns the X coordinates of the cell (starting from the upper left corner of the cell) where the drag action has been done.

pv drag Y offset

To use in the drag area. Returns the Y coordinates of the cell (starting from the upper left corner of the cell) where the drag action has been done.

pv drop X offset

To use in the drop area. Returns the X coordinates of the cell (starting from the upper left corner of the cell) into which the drop action has been done.

pv drop Y offset

To use in the drop area. Returns the Y coordinates of the cell (starting from the upper left corner of the cell) into which the drop action has been done.

pv drop action

To use in the drop area. Allows getting the drop action done by the user. Returns a constant from the PV Drop action theme.

Example

Refer to the example for the PV SET DRAG SIGNATURES command.

See Also

PV SET DRAG SIGNATURES.

Constants

PV Drop info and PV Drop action themes.