Table of Contents

TTMSFNCCustomNonFocusablePopupForm Class

Popup form variant that does not steal focus from the currently active window when shown.

API unit family: TMSFNCPopup Inherits from: TTMSFNCCustomPopupForm

Syntax

TTMSFNCCustomNonFocusablePopupForm = class(TTMSFNCCustomPopupForm)

Properties

Name Description
Canvas The canvas of the internal paint box used to draw popup content in the WebLib framework. (inherited from TCustomPaintedForm)
ContentControl The control hosted inside the popup form as its primary visual content. (inherited from TTMSFNCCustomPopupForm)
ContentPadding The padding between the popup form border and the ContentControl. (inherited from TTMSFNCCustomPopupForm)
HintWindow When True, the popup form behaves as a hint window with no title bar and no taskbar entry. (inherited from TTMSFNCCustomPopupForm)
Offset The pixel offset applied to the popup position after placement calculations. (inherited from TTMSFNCCustomPopupForm)
Placement The placement strategy used to position the popup relative to the PlacementControl or placement rectangle. (inherited from TTMSFNCCustomPopupForm)
PlacementControl The control used as the anchor for popup placement calculations. (inherited from TTMSFNCCustomPopupForm)
PlacementRectangle The rectangle used as the anchor when no PlacementControl is set. (inherited from TTMSFNCCustomPopupForm)
RealPlacement The actual placement direction chosen after applying screen boundary adjustments. (inherited from TTMSFNCCustomPopupForm)
ScreenContentRect The screen rectangle occupied by the popup content after placement. (inherited from TTMSFNCCustomPopupForm)
ScreenPlacementRect The screen rectangle occupied by the placement anchor after placement calculations. (inherited from TTMSFNCCustomPopupForm)
Size The width and height of the popup form. (inherited from TTMSFNCCustomPopupForm)

Methods

Name Description
ApplyPlacement Calculates and applies the popup position based on the current Placement and placement control. (inherited from TTMSFNCCustomPopupForm)
CloseQuery Returns True to allow the popup to close; descendant classes may override to prevent closing under specific conditions. (inherited from TTMSFNCCustomPopupForm)
CreateCanvas Initializes the internal paint box used as the drawing surface for this form; called automatically on first canvas access. (inherited from TCustomPaintedForm)
KeyDown Handles keyboard input for the popup form, closing it when Escape is pressed. (inherited from TTMSFNCCustomPopupForm)

Events

Name Description
OnBeforeClose Fires immediately before the popup form closes, allowing caller-side cleanup. (inherited from TTMSFNCCustomPopupForm)
OnBeforeShow Fires immediately before the popup form is shown, allowing caller-side preparation. (inherited from TTMSFNCCustomPopupForm)
OnPopupPaint Fires to allow custom painting over the popup form background. (inherited from TTMSFNCCustomPopupForm)
OnRealPlacementChanged Fires when the actual placement direction changes from the requested direction due to screen boundary constraints. (inherited from TTMSFNCCustomPopupForm)