tp.Dragger
tp.Dragger adds mouse-based move and resize behavior to an existing element.
It is a low-level helper used by desktop-like UI pieces such as windows, notification
boxes, and drop-down surfaces.
The constructor receives a mode bit-field, the element to move or resize, and optionally
a separate drag handle. In this demo the whole panel can be resized from its edges, but it
can be moved only from its caption. The dragger raises DragStart,
DragOver, and DragEnd as custom Tripous events.
Drag from here
Move this panel by dragging the caption. Resize it from its border or corners.