Vcl.Forms.TApplication.AddPopupForm

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AddPopupForm(APopupForm: TCustomForm): Integer;

C++

int __fastcall AddPopupForm(TCustomForm* APopupForm);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TApplication

Description

Adds a PopupForm to the current form.

AddPopupForm adds a TCustomForm, that acts as a popup, in the current form. Popup handling is done by using an TPopupFormArray.

The method returns the popup form id representing the order number of the currently added popup element.

Note: The popup form id is different that the TPopupFormArray index.

See Also

Code Examples