SftBox/OCX 4.5

SftBox.Appearance Property

Softel vdm, Inc.

Defines the control's border look.

Syntax       

Get

VB.NET

Type = object.Appearance  As Short

VB

Type = object.Appearance  As Integer

C#.NET

short Type = object.Appearance;

VC++

short Type = object->Appearance;
short Type = object->GetAppearance();

C

HRESULT object->get_Appearance(short* Type);

Delphi

Type := object.Appearance   : Smallint;

Put

VB.NET

object.Appearance = Type  As Short

VB

object.Appearance = Type  As Integer

C#.NET

short object.Appearance = Type;

VC++

short object->Appearance = Type;
void object->PutAppearance(short Type);

C

HRESULT object->put_Appearance(short Type);

Delphi

object.Appearance := Type   : Smallint;

object

A SftBox object.

Type

Defines the control's border look.

Value

Description

0

Flat, without visual effects.

1

Paints the control border with three dimensional effects.

Comments

The Appearance property defines the control's border look.

The Appearance property affects the border drawn around the control. If the BorderStyle property defines a border, the Appearance property will cause it to be painted using a 3D effect. 

The Items.Appearance property can be used to give items a 3D look.

The Appearance property does not affect the drop down portion. Its border cannot be changed.

If Windows themes are used, this property will cause a border to be displayed (if set to 1), rendered using the current theme's style.

This property is read/only at run-time.

See Also  SftBox Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com