Table of contents
TOC
Collapse the table of content
Expand the table of content

ComboBox.BorderThemeColorIndex Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets a value that represents a color in the applied color theme associated with the BorderColor property of the specified object. Read/write Long.

Syntax

expression. BorderThemeColorIndex

expression A variable that represents a ComboBox object.

Remarks

The BorderThemeColorIndex property contains one of the index values listed in the following table.

Index ValueDescription
0Text 1
1Background 1
2Text 2
3Background 2
4Accent 1
5Accent 2
6Accent 3
7Accent 4
8Accent 5
9Accent 6
10Hyperlink
11Followed Hyperlink

If no theme is applied, the BorderThemeColorIndex property contains -1.

This property is not surfaced in the property sheet.

Example

The following code example sets the Border Color to the Text 2 color by setting the BorderThemeColorIndex property.

Me.ctl.BorderThemeColorIndex=2

See also

Concepts

ComboBox Object

© 2017 Microsoft