다음을 통해 공유


ToggleButton.QuickStyle Property (Access)

Gets or sets the Quick Style that is applied to the specified object. Read/write Long.

Version Information

추가된 버전: Access 2010

Syntax

.QuickStyle

A variable that represents a ToggleButton object.

Remarks

The QuickStyle uses one of the values listed in the following table.

Value

Effect

0 (Default)

No Quick Style

1

Colored Outline - Black, Dark 1

2

Colored Outline - Ice Blue, Accent 1

3

Colored Outline - Orange, Accent 2

4

Colored Outline - Olive Green, Accent 3

5

Colored Outline - Gold, Accent 4

6

Colored Outline - Green, Accent 5

7

Colored Outline - Gray-50%, Accent 6

8

Colored Fill - Black, Dark 1

9

Colored Fill - Ice Blue, Accent 1

10

Colored Fill - Orange, Accent 2

11

Colored Fill - Olive Green, Accent 3

12

Colored Fill - Gold, Accent 4

13

Colored Fill - Green, Accent 5

14

Colored Fill - Gray-50%, Accent 6

15

Light 1 Outline, Colored Fill - Black, Dark 1

16

Light 1 Outline, Colored Fill - Ice Blue, Accent 1

17

Light 1 Outline, Colored Fill - Orange, Accent 2

18

Light 1 Outline, Colored Fill - Olive Green, Accent 3

19

Light 1 Outline, Colored Fill - Gold, Accent 4

10

Light 1 Outline, Colored Fill - Green, Accent 5

21

Light 1 Outline, Colored Fill - Gray-50%, Accent 6

22

Subtle Effect - Black, Dark 1

23

Subtle Effect - Ice Blue, Accent 1

24

Subtle Effect - Orange, Accent 2

25

Subtle Effect - Olive Green, Accent 3

26

Subtle Effect - Gold, Accent 4

27

Subtle Effect - Green, Accent 5

28

Subtle Effect - Gray-50%, Accent 6

29

Moderate Effect - Black, Dark 1

30

Moderate Effect - Ice Blue, Accent 1

31

Moderate Effect - Orange, Accent 2

32

Moderate Effect - Olive Green, Accent 3

33

Moderate Effect - Gold, Accent 4

34

Moderate Effect - Green, Accent 5

35

Moderate Effect - Gray-50%, Accent 6

36

Intense Effect - Black, Dark 1

37

Intense Effect - Ice Blue, Accent 1

38

Intense Effect - Orange, Accent 2

39

Intense Effect - Olive Green, Accent 3

40

Intense Effect - Gold, Accent 4

41

Intense Effect - Green, Accent 5

42

Intense Effect - Gray-50%, Accent 6

To see the available Quick Styles and apply a Quick Style 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 shadow effect. Next, on the Format tab, in the Control Formatting group, click Quick Styles and choose a Quick Style. Notice that the Quick Styles are indexed from left to right, and then top to bottom. So the first item,Colored Outline - Black, Dark 1, has the value 1. The first row contains Quick Styles with values from 1 to 7. The second row from 8 to 14, and so on.

This property is not surfaced in the property sheet.

참고 항목

개념

ToggleButton Object

ToggleButton Object Members