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 | OLEControl, OLEBoundControl |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.