FMX.Controls.TPopup.Popup

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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.

To open and explicitly close a TPopup, set the TPopup.IsOpen property to True and False, respectively. (We do not recommend using Popup and ClosePopup.)

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