AddPopupForm method or DelphiVCL.Application.AddPopupForm is used to add 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 a 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 from the TPopupFormArray index.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.AddPopupForm using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.AddPopupForm) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.AddPopupForm using the print() command:
1 2 |
print(DelphiVCL.Application.AddPopupForm) print(DelphiVCL.Application.AddPopupForm.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.