Show: Object Pascal C++
Display Preferences

FMX.WebBrowser.TWebBrowser

From Appmethod Libraries
Jump to: navigation, search

FMX.WebBrowser.TCustomWebBrowserFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTWebBrowser

Object Pascal

TWebBrowser = class(TCustomWebBrowser)

C++

class PASCALIMPLEMENTATION TWebBrowser : public TCustomWebBrowser

Properties

Type Visibility Source Unit Parent
class public
FMX.WebBrowser.pas
FMX.WebBrowser.hpp
FMX.WebBrowser FMX.WebBrowser

Description

TWebBrowser defines a web browser.

TWebBrowser is a visual component, that permits loading and displaying the Web content or local files. The loaded URL or the name of the loaded file is specified through the URL property.

TWebBrowser offers support for the basic functions of a browser, such as: navigate to URL, go back, go forward, along with specific events.

To load and display content within TWebBrowser, call the Navigate method with the URL or file name as a parameter, or set the URL property, and then call the Navigate method without any parameters.

To load and display local files, deploy explicitly the file to be displayed by adding it to the Deployment Manager, and add the 'file://' string before the file name, when calling the Navigate method.

Example for loading a local file:

WebBrowser1.Navigate('file://MyFile.pdf')
Note: TWebBrowser is a mobile component. It cannot be used in FireMonkey desktop applications.

See Also

Personal tools
Translations