Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TPopupMode

Defines the handling performed for a parent window in forms and dialogs.

Declaration

Source position: forms.pp line 439

type TPopupMode = (

  pmNone,

  

modal: align to active form or main form; non-modal: no window parent.

  pmAuto,

  

modal and non-modal: align to active form or main form.

  pmExplicit

  

modal and non-modal: align to PopupParent or main form.

);

Description

TPopupMode is an enumerated type with values that specify how the parent is determined for a form or dialog. TPopupMode is the type used for the PopupMode property in TCustomForm.

See also

TCustomForm.PopupMode

  

Defines where popup menus are shown.

TCustomForm.PopupParent

  

Parent form which owns the current form instance when displayed as a pop-up window.

TCustomForm.GetRealPopupParent

  

Gets the form that is the effective parent for the pop-up, dialog, or splash screen.