FMX.Controls.TPopup.ClosePopup

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure ClosePopup; virtual;

C++

virtual void __fastcall ClosePopup(void);

Properties

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

Description

Closes the current TPopup.

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.)

Call ClosePopup to explicitly close a TPopup. If there is more than one pop-ups opened, ClosePopup closes only the specified instance.

To take specific action when TPopup closes, write an OnClosePopup event handler.

See Also