RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication.ModalLevel Property

Gives the number of currently open modal forms.

Pascal
property ModalLevel: Integer;
C++
__property int ModalLevel;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!