다음을 통해 공유


CommandButton.BackStyle Property (Access)

You can use the BackStyle property to specify whether a control will be transparent. Read/write Byte.

Version Information

추가된 버전: Access 2007

Syntax

.BackStyle

A variable that represents a CommandButton object.

Remarks

The BackStyle property uses the following settings.

Setting

Visual Basic

Description

Normal

1

(Default) The control has its interior color set by the BackColor property.

Transparent

0

The control is transparent. The color of the form or report behind the control is visible.

You can set the default for this property by using a control's default control style or the DefaultControl property in Visual Basic.

If the Transparent button on the Back Color button palette is selected, the BackStyle property is set to Transparent; otherwise the BackStyle property is set to Normal.

To make a command button invisible, set its Transparent property to Yes.

참고 항목

개념

CommandButton Object

CommandButton Object Members