HTMLDocumentField.Navigate

Syntax variant: By URL

Syntax:

Navigate(<URL>)

Parameters:

<URL> (required)

Type: String.
URL of the resource that will be loaded into the control.

Syntax variant: By metadata object

Syntax:

Navigate(<Template>)

Parameters:

<Template> (required)

Type: MetadataObject: Template.
HTML document template to which the control should navigate.

Description:

Moves the HTML document field to the page with the specified address.

Availability:

Thick client.

Note:

Unavailable in Design mode.

Example:

// there is a  HTMLDocumentField1 control of "HTMLDocumentField" type
// in the form

Procedure 
OnOpen()
    // ...
    // for the "by URL" method option:
    Controls.HTMLDocumentField1.Navigate("www.1c.ru");
    // ...
EndProcedure


    

1C:Enterprise Developer's Community