FMX.Controls.TPopup.ClosePopup
Delphi
procedure ClosePopup; virtual;
C++
virtual void __fastcall ClosePopup();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TPopup |
Description
Closes the current TPopup.
- 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.
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.