FMX.Forms.TCustomPopupForm.Offset
Delphi
property Offset: TPointF read FOffset write SetOffset;
C++
__property System::Types::TPointF Offset = {read=FOffset, write=SetOffset};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCustomPopupForm |
Description
The offset of the padding rectangle relative to the rectangle of the pop-up form.
Defines the number of pixels, by which the pop-up form is displaced relatively to the main form position; this number is obtained taking into account all positioning properties used in the TCustomPopupForm class. The Offset direction depends on a Placement value. The Offset property is used, for example, in multi-level menus, when pop-up forms of submenus are placed overlapping a form of a previous level.