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:
1 |
<span>dw_control</span>.Object.<span>olecontrolname</span>.ContentsAllowed |
Describe and Modify argument:
1 |
"<span>olecontrolname</span>.ContentsAllowed { = '<span> contentstype </span>' }" |
Parameter |
Description |
---|---|
olecontrolname |
The name of the OLE Object control for |
contentstype |
A number specifying whether the OLE object Values are:
|
Usage
In the painter
Select the control and set the value in the Properties view, Options
tab, Contents option.
Examples
1 |
string ls_data |
1 |
ls_data = dw1.Object.ole_report.ContentsAllowed |
1 |
dw1.Object.ole_report.ContentsAllowed = 2 |
1 |
ls_data = dw1.Describe("ole_report.ContentsAllowed") |
1 |
dw1.Modify("ole_report.ContentsAllowed='2'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments