FMX.Forms.TCustomPopupForm.DragWithParent

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property DragWithParent: Boolean read FDragWithParent write SetDragWithParent;

C++

__property bool DragWithParent = {read=FDragWithParent, write=SetDragWithParent, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCustomPopupForm

Description

Specifies whether the current TCustomPopupForm can be dragged after it is shown.

For example, if DragWithParent is True, TCustomPopupForm is dragged together with its parent form when the parent form is the target of a drag-and-drop operation. When Placement is Mouse or MouseCenter, then pop-up form moves following the mouse cursor. On mobile devices, after changing of orientation (portrait/landscape) pop-up form can change position in order not to be partially obscured by the screen boundaries.

The default is True.

See Also