WebBrowser
WebBrowser class is used for control and management of the Web browser parts.
left
Gets or sets the position at the left of the parts.
top
Gets or sets the position at the top of the parts.
width
Gets or sets the width of the parts.
height
Gets or sets the height of the parts.
alias
Gets the alias of the parts.
enabled
Gets or sets the available state of the part.
visible
Gets or sets a visibility of the part.
tabindex
Gets or sets the tab order of the parts.
focus()
Sets focus to this parts.
navigate(uri)
Shows the specified page.
url
Gets URL of the page shown currently.
html
Gets or replaces the HTML text of the page shown currently.
attachEvent(funcname, func)
Connects a parts event with a function.
Event name | Example | Description |
gotfocus | func() | Occurs when the form becomes active. |
lostfocus | func() | Occurs when the form becomes non-active. |
documentcompleted | func() | Occurs when document is read completely. |
navigated | func() | Occurs when it transfers to the page. |