Vcl.Forms.TApplication.AddPopupForm

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function AddPopupForm(APopupForm: TCustomForm): Integer;

C++

int __fastcall AddPopupForm(TCustomForm* APopupForm);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TApplication

Beschreibung

Fügt dem aktuellen Formular ein PopupForm hinzu.

AddPopupForm fügt ein TCustomForm hinzu, das sich im aktuellen Formular wie ein Popup verhält. Die Popup-Behandlung wird mit einem TPopupFormArray durchgeführt.

Die Methode gibt die ID des Popup-Formulars zurück, die die Ordnungszahl des aktuell hinzugefügten Popup-Elements repräsentiert.

Anmerkung:  Die ID des Popup-Formulars ist nicht identisch mit dem TPopupFormArray-Index.

Siehe auch

Codebeispiele