Table of Contents

TTMSFNCWebBrowserPopup Class

Non-visual component that opens a modal or non-modal popup window containing a TTMSFNCWebBrowser. Drop on a form and call Open to display it.

API unit family: TMSFNCWebBrowser Inherits from: TComponent

Syntax

TTMSFNCWebBrowserPopup = class(TComponent)

Properties

Name Description
CloseButton When True, a close button is shown inside the popup window. Default is False.
CloseButtonText Caption text displayed on the close button when CloseButton is True.
ExternalBrowser When True, navigation is handled by the system default browser instead of the embedded control.
FullScreen When True, the popup window fills the entire screen.
Height Height of the popup window in pixels. Default is 480.
Left Left position of the popup window in pixels, used when Position is set to a manual position. Default is 0.
Position Initial screen position of the popup window when it is opened. Default is ScreenCenter.
Top Top position of the popup window in pixels, used when Position is set to a manual position. Default is 0.
URL URL to navigate to when the popup opens. Can also be supplied directly to Open.
WebBrowser The embedded web browser control inside the popup window.
Width Width of the popup window in pixels. Default is 640.

Methods

Name Description
Close Closes the popup window programmatically.
Open Opens the popup window and optionally waits for it to close. Returns the modal result when AModal is True.

Events

Name Description
OnBeforeNavigate Fired before the popup browser begins loading a URL.
OnClose Fired when the popup window is closed.
OnNavigateComplete Fired after the popup browser finishes loading a URL.