FMX.Controls.TPopup.Popup

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Popup(const AShowModal: Boolean = False); virtual;

C++

virtual void __fastcall Popup(const bool AShowModal = false);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TPopup

Description

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.

See Also