# SalQuickHTML

Namespace: **PPJ.Runtime.Windows.QO**

Assembly: **PPJ.Runtime.49** (4.9.0.0)

Web Browser Control.

{% tabs %}
{% tab title="C#" %}

```csharp
public class SalQuickHTML : SalUserControl
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class SalQuickHTML
    Inherits SalUserControl
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SalQuickHTML()

Default Constructor.

## Properties

### ![](/files/dBIrS7XBDGmrzmTRbSI6)AddressBar

[ToolStrip](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.toolstrip): Returns the address bar control.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)AllowBrowserDrop

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Enables or disables drag & drop on the inner web browser. It cannot be re-enabled at runtime after it has been disabled. (Default: `False`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)BrowserEmulation

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Gets or sets the browser emulation version.

See <https://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx>

### ![](/files/dBIrS7XBDGmrzmTRbSI6)BrowserName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): The HTTP User-Agent header field to determine what type of Web client is making the request. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)FromName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Name that appears in the HTTP header From field. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)HomePage

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Specified which URL page to load when the GoHome() function is executed. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)LinkColor

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Color of the hyper link text.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)LinkFollowedColor

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Color of hyper link text that has been followed by the user.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)LoadImages

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Flag to determine if images are loaded and displayed. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)PageURL

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): The URL of the currently visible page. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ProxyPort

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Identifies the proxy port. (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ProxyServerName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Identifies the proxy server name. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SaveDirectory

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): The default directory for downloads and saved files. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SearchPage

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Specified which URL page to load when GoSearch() function is executed. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowAddressBar

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the address bar. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowStatusBar

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the status bar. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbar

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the toolbar. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarBack

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the back toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarCopy

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the copy toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarCut

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the cut toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarForward

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the forward toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarHome

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the home toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarOpen

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the open toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarPaste

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the paste toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarRefresh

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the refresh toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarSearch

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the search toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ShowToolbarStop

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Shows/Hides the stop toolbar button. (Default: `True`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Statusbar

[StatusBar](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.statusbar): Returns the status bar control.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Toolbar

[ToolStrip](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.toolstrip): Returns the toolbar control.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)UserAgent

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Gets or sets the user agent string.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)UserName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Identifies the user name for basic authentication to a page. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)UserPassword

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Identifies the password for basic authentication to a page. (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WebBrowser

[WebBrowser](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.webbrowser): Returns the inner WebBrowser control.

## Methods

### ![](/files/dBIrS7XBDGmrzmTRbSI6)EnumLinks(sLinks, sText)

Retrieves all links for a page

| Parameter  | Type                                                                              | Description |
| ---------- | --------------------------------------------------------------------------------- | ----------- |
| **sLinks** | [SalArray\<SalString>](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |
| **sText**  | [SalArray\<SalString>](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetCurrentURL(sURL)

| Parameter | Type                                                                    | Description |
| --------- | ----------------------------------------------------------------------- | ----------- |
| **sURL**  | [SalString&](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetPageTitle(sTitle)

| Parameter  | Type                                                                    | Description |
| ---------- | ----------------------------------------------------------------------- | ----------- |
| **sTitle** | [SalString&](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetSource(sHTML)

| Parameter | Type                                                                    | Description |
| --------- | ----------------------------------------------------------------------- | ----------- |
| **sHTML** | [SalString&](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetStatus()

Returns the status code.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GoHome()

Displays the page specified by the HomePage property.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GoSearch()

Displays the page specified by the SearchPage property.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)PageBackward()

Displays the previous page from the history list.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)PageCancel()

Cancels loading the current page.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)PageForward()

Displays the next page from the history list.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)PageLoad(sURL)

Loads a specified page.

| Parameter | Type                                                                   | Description |
| --------- | ---------------------------------------------------------------------- | ----------- |
| **sURL**  | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)PageOpen()

Opens a local html page.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)PageReload()

Reloads the current page.

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetSource(sPath, sSource)

Sets the source text to display

| Parameter   | Type                                                                   | Description |
| ----------- | ---------------------------------------------------------------------- | ----------- |
| **sPath**   | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |
| **sSource** | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) |             |

**Returns:** [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md).

## Implements

| Name                                                                    | Description                                                                        |
| ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [ISalWindow](/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md) | All Sal windows (Child windows, Forms, Dialogs and MDIs) implement this interface. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.salquickhtml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
