ContentsAllowed – PB Docs 126

ContentsAllowed DataWindow object property

Description

The way the OLE Object control holds the OLE object. You can
restrict the container to only embedded or only linked objects,
or you can allow either type.

Controls

OLE Object controls

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

olecontrolname

The name of the OLE Object control for
which you want to get or set the type of contents.

contentstype

A number specifying whether the OLE object
in the control has to be embedded, has to be linked, or can be either
embedded or linked.

Values are:

  • 0 – Embedded

  • 1 – Linked

  • 2 – Any

Usage

In the painter

Select the control and set the value in the Properties view, Options
tab, Contents option.

Examples




Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x