FMX.Forms.TCustomPopupForm.DragWithParent
Delphi
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 the pop-up form moves following the mouse cursor. On mobile devices, after changing the orientation (portrait/landscape) the pop-up form can change its position in order not to be partially positioned outside of the screen boundaries.
The default is True
.