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

CommandButton.Glow Property (Access)

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

Gets or sets the Glow effect applied to the specified object. Read/write Long.

Syntax

expression. Glow

expression A variable that represents a CommandButton object.

Remarks

The Glow property contains a numeric expression that represents the glow effect applied to the specified object. The default value of the Glow property is 0, which does not apply a glow effect. The values are listed in the following table.

ValueEffect
0None
1Blue, 5 pt glow, Accent color 1
2Red, 5 pt glow, Accent color 2
3Olive Green, 5 pt glow, Accent color 3
4Purple, 5 pt glow, Accent color 4
5Aqua, 5 pt glow, Accent color 5
6Orange, 5 pt glow, Accent color 6
7Blue, 8 pt glow, Accent color 1
8Red, 8 pt glow, Accent color 2
9Olive Green, 8 pt glow, Accent color 3
10Purple, 8 pt glow, Accent color 4
11Aqua, 8 pt glow, Accent color 5
12Orange, 8 pt glow, Accent color 6
13Blue, 11 pt glow, Accent color 1
14Red, 11 pt glow, Accent color 2
15Olive Green, 11 pt glow, Accent color 3
16Purple, 11 pt glow, Accent color 4
17Aqua, 11 pt glow, Accent color 5
18Orange, 11 pt glow, Accent color 6
19Blue, 18 pt glow, Accent color 1
20Red, 18 pt glow, Accent color 2
21Olive Green, 18 pt glow, Accent color 3
22Purple, 18 pt glow, Accent color 4
23Aqua, 18 pt glow, Accent color 5
24Orange, 18 pt glow, Accent color 6

To see the available glow effects and apply a glow through the user interface, first open the form or report in Layout view or Design view by right-clicking the form or report in the Navigation Pane, and then clicking the view you want. Then, click the object to which you want to apply a glow effect. Next, on the Format tab, in the Control Formatting group, click Shape Effects, then click Glow and choose a glow effect. Notice that the glow effects are indexed from left to right, and then top to bottom. So the first item, under No Glow, has the value 0. Then, under Glow, the first row contains glow effects with values from 1 to 6. The second row from 7 to 12, the third row from 13 to 18, and the fourth row from 19 to 24 .

This property is not surfaced in the property sheet.

Example

The following code example sets the glow effect to Aqua, 11 pt glow, Accent color 5.

Me.ctl.Glow = 17

See also

Concepts

CommandButton Object

© 2017 Microsoft