Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
47 lines (25 loc) · 1.8 KB

boundobjectframe-objectpalette-property-access.md

File metadata and controls

47 lines (25 loc) · 1.8 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
BoundObjectFrame.ObjectPalette Property (Access)
vbaac10.chm10953
vbaac10.chm10953
access
Access.BoundObjectFrame.ObjectPalette
6f26ca1f-d851-4914-6dfa-c419b4ceac12
06/08/2017

BoundObjectFrame.ObjectPalette Property (Access)

The ObjectPalette property specifies the palette in the application used to create an OLE object. Read/write Variant.

Syntax

expression. ObjectPalette

expression A variable that represents a BoundObjectFrame object.

Remarks

Microsoft Access sets the value of the ObjectPalette property to a String data type containing the palette information. You can use this setting to set the value of the PaintPalette property for a form or report.

If the application associated with the OLE object doesn't have an associated palette, the ObjectPalette property is set to an zero-length string.

The ObjectPalette property is read-only in Form view.

The setting of the ObjectPalette property makes the palette of the application associated with the OLE object contained in a control available to the PaintPalette property of a form or report. For example, to make the palette used in Microsoft Graph available when you're designing a form in Microsoft Access, you set the form's PaintPalette property to the ObjectPalette value of an existing chart control.

Note Windows can have only one color palette active at a time. Microsoft Access allows you to have multiple graphics on a form, each using a different color palette. The PaintPalette and PaletteSource properties let you specify which color palette a form should use when displaying graphics.

See also

Concepts

BoundObjectFrame Object