FMX.Forms.TCustomPopupForm.ContentControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ContentControl: TControl read FContentControl write SetContentControl;

C++

__property Fmx::Controls::TControl* ContentControl = {read=FContentControl, write=SetContentControl};

Properties

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

Description

Specifies the control that is shown on the pop-up form.

If a pop-up form does not contain any visible control, then the pop-up form is totally transparent. Therefore, some visible control should be placed onto the pop-up form. This control is specified by the ContentControl property.

Note: A ContentCtrl control can be associated to a PopupForm pop-up form using the Parent property of the control, like in the following example: ContentCtrl.Parent := ParentForm. However, we recommend using the ContentControl property like ParentForm.ContentControl := ContentCtrl, because TCustomPopupForm handling ContentControl takes into account the current scale and rotation of the ContentCtrl control.

See Also