RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Forms.TPopupMode Enumeration

TPopupMode enumerates the possible values of a Form's PopupMode property.

Pascal
TPopupMode = (
  pmNone,
  pmAuto,
  pmExplicit
);
C++
enum TPopupMode {
  pmNone,
  pmAuto,
  pmExplicit
};

Forms

The PopupMode property controls how the top-level form behaves with respect to Window's WS_POPUP style. The TPopupMode can have one of these values :

Value 
Meaning 
pmNone  
Set the PopupMode property to pmNone if you want the popup window to have the pre-Delphi 8 behavior.  
pmAuto  
Popup handling is automatic.  
pmExplicit  
Set the PopupMode property to pmExplicit for non-modal design windows such as tool palettes and other floating tool windows. This causes the windows to always remain on top of the main form.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!