Method XbpHTMLViewer2():create() Foundation

Allocates resources.

Syntax
:create( [<oParent>], [<oOwner>], [<aPos>], [<aSize>], [<aPP>], [<lVisible>] ) --> self
Parameters
<oParent>
An optional parent object. By default, the active window (the return value of the function SetAppWindow()) is used.
<oOwner>
An optional owner object. By default, the object specified in <oParent> is used.
<aPos>
An optional array with the X and Y position of the HTML viewer's window. By default, the position {0,0} is used.
<aSize>
An optional array with the width and the height of the HTML viewer's window. By default, the dimensions {0,0} are used.
<aPP>
An optional two-dimensional array with presentation parameters.
<lVisible>
An optional logical value which specifies whether the object is initially visible. Defaults to .T. (true). Pass .F. (false) to create the object hidden. Hidden objects can be displayed using :show().
Return

This method returns self.

Description

The method :create() allocates resources for a XbpHTMLViewer2 object. Once created, :navigate() or :setHTML() can be used to navigate to a Web resource or to load dedicated Web content.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.