API:FMX.MultiView.Types.TCustomPopover.Popup
Delphi
procedure Popup(const AShowModal: Boolean = False); override;
C++
virtual void __fastcall Popup(const bool AShowModal = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.MultiView.Types.pas FMX.MultiView.Types.hpp |
FMX.MultiView.Types | TCustomPopover |
Description
Displays the TPopup window.
FMX.MultiView.Types.TCustomPopover.Popup inherits from FMX.Controls.TPopup.Popup. All content below this line refers to FMX.Controls.TPopup.Popup.
Displays the TPopup window.
- Note: We do not recommend using Popup and ClosePopup. To open and explicitly close a TPopup, set the TPopup.IsOpen property to True and False, respectively.
When AShowModal
is True
, then Popup drops down TPopup as a modal dialog.
Popup applies the specified placement and style to TPopup, before making it visible.
To set the placement, use the PlacementRectangle, PlacementTarget, HorizontalOffset, VerticalOffset, and Placement properties.