DelphiDelphiVCLPythonPython GUIWindows

What Is The ModalPopupMode Property In DelphiVCL.Application?

featuredimage2-9275835

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. 

The Possible Values for ModalPopupMode

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

ValueMeaning
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:

0dir-7791787

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

See the responses in our Windows command prompt:

0print-9244112

 

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

close
Related posts
DelphiDelphiVCLPythonPython GUIWindows

This Is The DelphiVCL.Application.Minimize Method

DelphiDelphiVCLPythonPython GUIWindows

Learn About DelphiVCL.Application.HandleMessage In Python

DelphiDelphiVCLPythonPython GUIWindows

What Is The GetParentComponent Method in DelphiVCL.Application?

DelphiDelphiVCLPythonPython GUIWindows

All You Need To Know About GetNamePath Method in DelphiVCL.Application

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEnglish