OCX Name

Name (ProgID) of the OCX control to be used in the widget.

"ocx=OcxName"

Value

Description

OcxName

Registered OCX control

Usage

Dynamic?

No

Supported in Grid?

No

Dependencies:

 

Description

Enter or select an OCX control from the list of registered controls. The name displayed is the ProgId of the OCX control.

There are many OCX controls available from third parties or the public domain. For information on the properties, events and methods that the OCX supports, consult the documentation for the OCX.

You can define a logical name for the OCX container widget in the .ini file. It is recommended that you use a separate logical name for each OCX control you use. Do not start the name with the letter 'U', because this is reserved for Uniface standard widgets.

For example, you can add the following to the [WIDGETS] section of your .ini file:

MediaPlayer=uocxcontainer(OCX=WMPlayer.OCX)

Using in ProcScript

This is a static property. It cannot be set in ProcScript.