FMX.Forms.TCustomPopupForm.Placement

提供:RAD Studio API Documentation

Delphi

property Placement: TPlacement read FPlacement write SetPlacement;

C++

__property Fmx::Controls::TPlacement Placement = {read=FPlacement, write=SetPlacement, nodefault};

プロパティ

種類 可視性 ソース ユニット
property public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCustomPopupForm


説明

PlacementRectangle プロパティまたは PlacementTarget プロパティで指定された四角形、画面、マウス(ポインティング デバイス)位置のいずれかを基準として、TCustomPopupForm がどのように相対的に配置されるかを指定します。

TPlacement には、Placement の取り得る値が定義されています。

また、TPlacement では、画面の境界から外にはみ出した場合の TCustomPopupForm の動作も指定します。デフォルト値は Bottom です。

次の図は、TopCenter 値の場合のデモです。

サムネイルの作成エラー: サムネイルを保存先に保存できません

この図で、ScreenPlacementRect[Show popup]ボタンの明るい赤紫色の四角形です。

PlacementPlacementTargetPlacementRectangle を使用すると、TCustomPopupForm の配置を設定できます。

関連項目