OleTypeAllowed Property

See AlsoPFTA19

Applies To

OLE control2HQDVVU.

Description

Determines the type of object the OLE control can contain.

Usage

[form.]ole.OleTypeAllowed [ = setting ]

Setting

The OleTypeAllowed property settings are:

Setting          Description

 

0                   Linked.  The OLE control can contain only a linked object.

1                   Embedded.  The OLE control can contain only an embedded object.

2                   (Default) Either.  The OLE control can contain either a linked or an embedded object.

 

Remarks

When you allow the user to create an object by displaying the Insert Object dialog (set Action = 14), the Paste Special dialog (set Action = 15), or when pasting an object from the Clipboard (set Action = 5), use this property to determine the type of object the user is allowed to create.

Use the OleType property to determine an object's type (linked, embedded, or none).

Data Type

IntegerDOKXHY


See Also

Help:

Action Property04T78S3

AppIsRunning Property8UE005T

OleType Property12K24M2

 

Programmer's Guide:

Chapter 22, "Object Linking and Embedding (OLE)"