Sign in Join
FPDoc Onlineexperiment

TCustomForm.PopupMode property

Member of TCustomFormpublicIn unit Forms

Defines where pop-up menus are shown.

Declaration

pascal
property PopupMode: TPopupMode read FPopupMode write SetPopupMode default pmNone;

Description

PopupMode is a TPopupMode property which controls the display policy for pop-up forms. The default value for the property is pmNone. See TPopupMode for more information about the values and meanings in the enumeration.

Changing the value in PopupMode causes the value in PopupParent to be changed when the property is set to pmAuto or pmNone. At run-time, the widgetset class is notified of the change to the PopupParent property.

PopupMode is used in the implementation of the GetRealPopupParent and ShowModal methods.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.