Vcl.Forms.TApplication.ModalLevel
Delphi
property ModalLevel: Integer read FModalLevel;
C++
__property int ModalLevel = {read=FModalLevel, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TApplication |
Description
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.
See Also
Code Examples