Vcl.Forms.TApplication.ModalLevel

From RAD Studio API Documentation
Jump to: navigation, search

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