FMX.Forms.TCustomPopupForm.PlacementRectangle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PlacementRectangle: TBounds read FPlacementRectangle write SetPlacementRectangle;

C++

__property Fmx::Types::TBounds* PlacementRectangle = {read=FPlacementRectangle, write=SetPlacementRectangle};

Properties

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

Description

Gets or sets a rectangle, relative to which the TCustomPopupForm is positioned.

Screen coordinates of PlacementRectangle are calculated relative to PlacementTarget (if specified). Otherwise, relative to the top left corner of the screen. The following rules are used:

Use Placement, PlacementTarget, and PlacementRectangle to set the target origin and the alignment point of the TCustomPopupForm.

See Also