[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.PopupParent

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

Declaration

Source position: forms.pp line 800

public property TCustomForm.PopupParent : TCustomForm
  read FPopupParent
  write SetPopupParent;

Description

PopupParent is a TCustomForm property which contains the parent form which owns the current form instance when displayed as a pop-up window.

Setting a new value for the property causes the existing pop-up parent form to be removed from the free notifications for the application. A new non-Nil pop-up Parent is added to the free notification list, and its PopupMode property is set to pmExplicit.

At run-time, the widgetset class is notified of the change in the PopupParent property. The notification is not performed at design-time.

See also

TCustomForm.PopupMode

  

Defines where pop-up menus are shown.


Version 3.2 Generated 2024-02-25 Home