Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomCalloutPopup.Popup(TWinControl) Method

Displays the callout popup for a specified control.

#Declaration

Delphi
procedure Popup(AOwnerControl: TWinControl); overload;

#Parameters

Name Type
AOwnerControl TWinControl

#Remarks

The AOwnerControl parameter specifies the control with which the popup aligns (also called the associated control).

The AOwnerBounds parameter specifies the associated control’s bounds – a rectangular area whose coordinates are relative to this control. Depending on the popup’s display style, the area serves one of the following:

  • A standard popup points its callout to the area’s center, according to the currently applied alignment.

  • A flyout panel popup fits its content into the area and pops up aligned along a specified area edge.

Call the first overloaded variant for more granular control over the pop-up position via the AOwnerBounds parameter. The second overloaded variant calls the first overloaded variant and passes AOwnerControl.ClientRect as the AOwnerBounds parameter.

The Popup method does the following:

Refer to the Close method description for details on how to close the callout popup.

See Also