This Is The DelphiVCL.Application.ModalLevel Property
By Muhammad Azizul Hakim October 27, 2021
ModalLevel is a read-only property that gives the number of modal forms which are currently open.
Any call to ModalStarted increments the value of ModalLevel, while each call to ModalFinished decrements its value.
Let’s browse all the properties and methods of the DelphiVCL.Application.ModalLevel using dir() command:
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.ModalLevel using the print() command:
See the responses in our Windows command prompt:
By Muhammad Azizul Hakim October 27, 2021
What is the DelphiVCL.Application.ModalLevel Property?
ModalLevel or DelphiVCL.Application.ModalLevel property gives the number of currently open modal forms.ModalLevel is a read-only property that gives the number of modal forms which are currently open.
Any call to ModalStarted increments the value of ModalLevel, while each call to ModalFinished decrements its value.
Let’s browse all the properties and methods of the DelphiVCL.Application.ModalLevel using dir() command:
Python:
import DelphiVCL
dir(DelphiVCL.Application.ModalLevel)
You can also read short information about the DelphiVCL.Application.ModalLevel using the print() command:
Python:
print(DelphiVCL.Application.ModalLevel)
print(DelphiVCL.Application.ModalLevel.__doc__)