RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication.AddPopupForm Method

Adds a PopupForm to the current form.

Pascal
function AddPopupForm(APopupForm: TCustomForm): Integer;
C++
__fastcall int AddPopupForm(TCustomForm APopupForm);

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!