Header menu logo issie

DragPlacement Type

A catalogue component being dragged onto the canvas, before it exists. Nothing is created until the drop, and where the catalogue item asks for parameters, not until that popup is accepted: what follows the cursor is drawn from a symbol that is never added to any model. That is what makes the gesture free to abandon - a drag ending anywhere but the canvas leaves nothing behind - and it keeps the popup in front of the component exactly as it is for a click.

Union cases

Union case Description

Dragging(Ghost, CursorPos)

Full Usage: Dragging(Ghost, CursorPos)

Parameters:

The button is still down: `Ghost` is drawn centred on `CursorPos`, in client coordinates.

Ghost : DragGhost
CursorPos : XYPos

DroppedAt XYPos

Full Usage: DroppedAt XYPos

Parameters:

Released over the canvas at this position, in draw block coordinates. Consumed by the next InitialiseCreateComponent, which may be several messages away since a creation popup stands between the drop and the component existing.

Item : XYPos

Instance members

Instance member Description

this.IsDragging

Full Usage: this.IsDragging

Returns: bool
Returns: bool

this.IsDroppedAt

Full Usage: this.IsDroppedAt

Returns: bool
Returns: bool

Type something to start searching.