OLETypeAllowed
This property indicates whether an OLE control's data is embedded or linked.
Usage |
nRetVal = oleObject.OLETypeAllowed |
Property |
Value |
Purpose |
nRetVal |
1 |
Data is embedded. |
0 |
Data is linked. |
|
-1 |
This is an OLEBoundControl and the bound General field is empty. |
|
-2 |
This is an OLE control (OCX). |
Example |
? ThisForm.OLEBoundControl1.OLETypeAllowed |
See Also |