Vcl.Forms.TPopupMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TPopupMode = (pmNone, pmAuto, pmExplicit);

C++

enum DECLSPEC_DENUM TPopupMode : unsigned char { pmNone, pmAuto, pmExplicit };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.Forms

Description

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

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.



See Also