DelphiDelphiVCLPythonPython GUIWindows

What Is The ModalPopupMode Property In DelphiVCL.Application?


In this post, you’ll learn more about ModalPopupMode or DelphiVCL.Application.ModalPopupMode property controls how the modal form behaves, with respect to Windows’ WS_POPUP style. Use ModalPopupMode to set the way modal forms behave, with respect to Windows’ WS_POPUP style. 

Learning more about ModalPopupMode Property will allow you to easily build modal designs with Lightweight Python IDE Windows.

The Possible Values for ModalPopupMode

The possible values for ModalPopupMode are given in the table below:

pmNoneThe popup window has the pre-Delphi 8 behavior.
pmAutoPopup handling is automatic.
pmExplicitThis is used for non-modal design windows, causing the windows to always remain on top of the main form.

Note: When you use a value other than pmNone, you may experience undesired results when you combine a persistent modal form with a parent form that is dynamically created and freed.

Let’s browse all the properties and methods of the DelphiVCL.Application.ModalPopupMode using dir() command:

See the responses in our Windows command prompt:


You can also read short information about the DelphiVCL.Application.ModalPopupMode using the print() command:

See the responses in our Windows command prompt:



Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Related posts

A Beginner's Guide To Python Tools

Learn PythonPythonPython GUIVideos

This Is How To Create A Python Gui With PyQt5

Python GUI

What Are Python Debugging Tools: A Simple Definition

Learn PythonPythonPython GUIVideos

How To Make A Python GUI For An ATM System

Добавить комментарий

Ваш адрес email не будет опубликован.