Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.35 KB

Access.NavigationButton.BorderThemeColorIndex.md

File metadata and controls

62 lines (40 loc) · 1.35 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
NavigationButton.BorderThemeColorIndex property (Access)
vbaac10.chm14634
vbaac10.chm14634
Access.NavigationButton.BorderThemeColorIndex
5f03c49f-9d93-d3c6-6f2c-b18cef67ac5d
02/20/2019
medium

NavigationButton.BorderThemeColorIndex property (Access)

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 NavigationButton object.

Remarks

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

Index value Description
0 Text 1
1 Background 1
2 Text 2
3 Background 2
4 Accent 1
5 Accent 2
6 Accent 3
7 Accent 4
8 Accent 5
9 Accent 6
10 Hyperlink
11 Followed 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

[!includeSupport and feedback]