SftBox/OCX 4.5

SftBox.Style Property

Softel vdm, Inc.

Defines the control's basic style.

Syntax       

Get

VB.NET

Style = object.Style  As SftBoxStyleConstants

VB

Style = object.Style  As SftBoxStyleConstants

C#.NET

SftBoxStyleConstants Style = object.Style;

VC++

enum SftBoxStyleConstants Style = object->Style;
enum SftBoxStyleConstants Style = object->GetStyle();

C

HRESULT object->get_Style(enum SftBoxStyleConstants* Style);

Delphi

Style := object.Style  : TOleEnum;

Put

VB.NET

object.Style = Style  As SftBoxStyleConstants

VB

object.Style = Style  As SftBoxStyleConstants

C#.NET

SftBoxStyleConstants object.Style = Style;

VC++

enum SftBoxStyleConstants object->Style = Style;
void object->PutStyle(enum SftBoxStyleConstants Style);

C

HRESULT object->put_Style(enum SftBoxStyleConstants Style);

Delphi

object.Style := Style  : TOleEnum;

object

A SftBox object.

Style

Defines the control's basic style.

Style

Value

Description

styleSftBoxSimple

0

Defines a simple combo box control, offering an edit control portion and a drop down portion which is always visible.

styleSftBoxDropDown

1

Defines a drop down combo box control, offering an edit control portion and a drop down portion which is shown or hidden based on the user's preference.

styleSftBoxDropDownList

2

Defines a drop down list combo box control, offering a static portion and a drop down portion which is shown or hidden based on the user's preference.

Comments

The Style property defines the control's basic style.

This property is read/only at run-time.


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