SftDirectory 2.5

SftDirectoryHeaders.ComboBoxStyle Property

Softel vdm, Inc.

Defines which portions of a combo box have column headers.

Syntax       

Get

VB.NET

Style = object.ComboBoxStyle  As SftDirectoryComboBoxStyleConstants

VB

Style = object.ComboBoxStyle  As SftDirectoryComboBoxStyleConstants

C#.NET

SftDirectoryComboBoxStyleConstants Style = object.ComboBoxStyle;

VC++

enum SftDirectoryComboBoxStyleConstants Style = object->ComboBoxStyle;
enum SftDirectoryComboBoxStyleConstants Style = object->GetComboBoxStyle();

C

HRESULT object->get_ComboBoxStyle(enum SftDirectoryComboBoxStyleConstants* Style);

Delphi

Style := object.ComboBoxStyle  : TOleEnum;

Put

VB.NET

object.ComboBoxStyle = Style  As SftDirectoryComboBoxStyleConstants

VB

object.ComboBoxStyle = Style  As SftDirectoryComboBoxStyleConstants

C#.NET

SftDirectoryComboBoxStyleConstants object.ComboBoxStyle = Style;

VC++

enum SftDirectoryComboBoxStyleConstants object->ComboBoxStyle = Style;
void object->PutComboBoxStyle(enum SftDirectoryComboBoxStyleConstants Style);

C

HRESULT object->put_ComboBoxStyle(enum SftDirectoryComboBoxStyleConstants Style);

Delphi

object.ComboBoxStyle := Style  : TOleEnum;

object

A SftDirectoryHeaders object.

Style

Defines which portions of a combo box have column headers.

Style

Value

Description

comboBoxSftDirectoryMain

0

Main - The main control has column headers.

comboBoxSftDirectoryDropDown

1

DropDown - Only the dropdown list has column headers.

comboBoxSftDirectoryBoth

2

Both - The main control and the dropdown list both have column headers.

Comments

The ComboBoxStyle property defines which portions of a combo box have column headers.

Only combo box style controls (see ControlStyle property) are affected by this property.

The Style property defines the appearance of the column headers.  If the Style property is set to headersSftDirectoryNone, so column headers are not displayed, the ComboBoxStyle property has no effect.


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