NormalizeAllTopMosts or DelphiVCL.Application.NormalizeAllTopMosts method makes forms that have been designated as topmost forms (their FormStyle is fsStayOnTop) behave as if they were not topmost forms.
Use NormalizeAllTopMosts to allow a message box or dialog box that is displayed using the Windows API functions (such as MessageBox and MessageDlg) directly, appear on top of a topmost form. Otherwise, the topmost form remains on top and may obscure the message box.
Calling NormalizeAllTopMosts is not necessary when using functions to display message boxes.
To return the forms designated as fsStayOnTop to be topmost again, call RestoreTopMosts.
Table of Contents
How to browse the properties, methods, and built-in properties of the DelphiVCL.Application.NormalizeAllTopMosts?
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.NormalizeAllTopMosts using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.NormalizeAllTopMosts) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.NormalizeAllTopMosts using the print() command:
1 2 |
print(DelphiVCL.Application.NormalizeAllTopMosts) print(DelphiVCL.Application.NormalizeAllTopMosts.__doc__) |
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.