Controls.AddActiveX

Syntax:

AddActiveX(<ID>, <Name>, <Visibility>, <Panel>)

Parameters:

<ID> (required)

Type: String.
Line that identifies ActiveX. (ProgID).

<Name> (required)

Type: String.
Identifier of control to be created. You can use the object name to access a control created using this method.

<Visibility> (optional)

Type: Boolean.
Defines whether to create a new form control element as visible or not. True - element is created as visible;
Default value: True.

<Panel> (optional)

Type: Panel.
Defines to which specific form panel the element created belongs. If the parameter is not specified, the element created will belong directly to the form.

Description:

Adds ActiveX object to form.

Availability:

Thick client.

    

1C:Enterprise Developer's Community