Vcl.Edge.TCustomEdgeBrowser.OnWindowCloseRequested

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnWindowCloseRequested: TNotifyEvent read FOnWindowCloseRequested write FOnWindowCloseRequested;

C++

__property System::Classes::TNotifyEvent OnWindowCloseRequested = {read=FOnWindowCloseRequested, write=FOnWindowCloseRequested};

Properties

Type Visibility Source Unit Parent
event public
Vcl.Edge.pas
Vcl.Edge.hpp
Vcl.Edge TCustomEdgeBrowser

Description

Fires when content inside the WebView requested to close the window, such as after window.close is called.

The app should close the WebView and related app window if that makes sense to the app.