RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication.ModalPopupMode Property

Controls how the modal form behaves, with respect to Windows' WS_POPUP style.

Pascal
property ModalPopupMode: TPopupMode;
C++
__property TPopupMode ModalPopupMode;

Use ModalPopupMode to set the way modal forms behave, with respect to Windows' WS_POPUP style. The possible values for ModalPopupMode are given in the table below.

Value 
Meaning 
pmNone  
The popup window has the pre-Delphi 8 behavior.  
pmAuto  
Popup handling is automatic.  
pmExplicit  
This is used for non-modal design windows, causing the windows to always remain on top of the main form.  

Note: By default, the value of ModalPopupMode is set to pmNone.
 

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