Appearance Property

Returns or sets the paint style of the control.

Syntax

Object.Appearance [ = enAppearance ]

The Appearance property syntax has the following parts:

 

Name

Type

Description

Object

A control

A control object

enAppearance

enumAAppearance

An integer specifying the paint style

Where

enumAAppearance can be one of the following:

 

Name

Value

Description

aflat

0

The control will have a flat appearance.

a3D

1*

The control will have a 3D look.

Comments

 

Example

 

Control

0-Flat

1-3D

ACheckBox

Edges have a dark black border.

Edges look sunken.

AGroupBox

Edges have a black border around the groupbox.

Edges look sunken.

AImage

 

 

 

 

ALabel with BorderStyle=None

No border.

No border.

ALabel with BorderStyle=Single

Edges have a black border around the box.

Edges look sunken.

AListBox

Edges have a black border around the box.

Edges look sunken.

ALog with BorderStyle=None

No difference.

No difference.

ALog with BorderStyle=Single

Edges have a black border around the box.

Edges look sunken.

ARadioButton

The circle has a dark black border.

The circle looks sunken.

ATextBox

Edges have a black border around the box.

Edges look sunken.

The following statement is an example of code to change the Appearance of the AImage control:

img1.Appearance=a3D

Applies to

 

ACheckBox

AImage

AListBox

ARadioButton

AGroupBox

ALabel

ALog

ATextBox

See Also

BorderStyle