Table of Contents

TTMSFNCWebBrowserPopup.Open Method

Opens the popup window and optionally waits for it to close. Returns the modal result when AModal is True.

API unit family: TMSFNCWebBrowser Declaring type: TTMSFNCWebBrowserPopup

Overloads

Overload 1

Opens the popup window and optionally waits for it to close. Returns the modal result when AModal is True.

function Open(AModal: Boolean = True): TModalResult; overload;

Parameters

Name Description
AModal When True (default), the popup is shown modally and the call blocks until the window closes.

Returns

The modal result code returned when the popup closes; mrNone when opened non-modally.

Overload 2

Opens the popup window and navigates to AURL. Returns the modal result when AModal is True.

function Open(AURL: String; AModal: Boolean = True): TModalResult; overload;

Parameters

Name Description
AURL URL to navigate to when the popup opens.
AModal When True (default), the popup is shown modally.

Returns

The modal result code returned when the popup closes; mrNone when opened non-modally.