FMX.Forms.TCustomPopupForm.PlacementTarget
Delphi
property PlacementTarget: TControl read FPlacementTarget write SetPlacementTarget;
C++
__property Fmx::Controls::TControl* PlacementTarget = {read=FPlacementTarget, write=SetPlacementTarget};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCustomPopupForm |
Description
The target control, relative to which the TCustomPopupForm is positioned.
If PlacementTarget is not set, and the TCustomPopupForm has a ParentForm, then the TCustomPopupForm is positioned relative to its parent. If PlacementTarget and ParentForm are not set, TCustomPopupForm is positioned relative to the main window.
Use Placement, RealPlacement, and PlacementRectangle to set the target origin and the alignment point of TCustomPopupForm.