TPopup = class(TStyledControl)
class PASCALIMPLEMENTATION TPopup : public TStyledControl
TPopup provides a pop-up window.
- To add a control to the TPopup content, set the Parent property of the control or create it with the TPopup as its owner.
- To access the TPopup children, use ChildrenCount and Children properties.
To position a TPopup, use the following properties:
TPopup supports animations and graphic effects. The animations and graphic effects are applied to the displayed window, and not to every child of the TPopup. For opacity effects, set the effects directly to the TPopup children. TPopup children do not inherit the animations and effects applied to the parent.
If TPopup is not explicitly sized, it is sized by its content. In this case, if an effect is applied that increases the content's displayed size, part of the content might be obscured. To avoid this, explicitly set the size for TPopup or set its bounds through the BoundsRect, Margins, and Padding properties.