[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 726

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 popup menus are shown.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.