INF: Right-Clicking OLE Object Invokes Object Frame PropertiesArticle ID: Q114681Creation Date: 10-MAY-1994 Revision Date: 05-FEB-1996
The information in this article applies to:
SUMMARY
Moderate: Requires basic macro, coding, and interoperability skills.
To view the property sheet for an object in a form or report in Design view
in Microsoft Access, using the right mouse button (right-click), you can
click with the mouse pointer in the object, and then click Properties.
However, when you do this with an OLE object, such as the Calendar control,
instead of invoking a list of properties for the Calendar control, you
invoke a list of properties for the object frame.
This is correct behavior because, to Microsoft Access, the control is an
object frame only. Essentially, the object frame is a place holder in the
form for the OLE control. The OLE control connected to the object frame has
its own properties, events, and methods that are separate and distinct from
those of the object frame.
To see the properties, events, and methods for the OLE object, right-click
the OLE object, and then click the name of the OLE object.
NOTE: In Microsoft Access for Windows 95 version 7.0, the properties for
the OLE Object are listed under the Other tab on the property sheet. Also,
clicking the Build button for the Custom property will show the object's
properties in a dialog box format.
MORE INFORMATION
The following example uses the Calendar control included with the Microsoft
Access Developer's Toolkit version 2.0 to demonstrate the differences
between object frame properties and OLE object properties:
For more information about embedded OLE objects, search for "unbound object
frame," and then "Embedding an OLE Object in an Unbound Object Frame" using
the Microsoft Access Help menu.
|
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.