SftBox/OCX 4.5

SftBoxColumn.CellMultiline Property

Softel vdm, Inc.

Defines whether multi-line text is allowed in cells in this column.

Syntax       

Get

VB.NET

Boolean = object.CellMultiline  As Boolean

VB

Boolean = object.CellMultiline  As Boolean

C#.NET

bool Boolean = object.CellMultiline;

VC++

VARIANT_BOOL Boolean = object->CellMultiline;
VARIANT_BOOL Boolean = object->GetCellMultiline();

C

HRESULT object->get_CellMultiline(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.CellMultiline   : WordBool;

Put

VB.NET

object.CellMultiline = Boolean  As Boolean

VB

object.CellMultiline = Boolean  As Boolean

C#.NET

bool object.CellMultiline = Boolean;

VC++

VARIANT_BOOL object->CellMultiline = Boolean;
void object->PutCellMultiline(VARIANT_BOOL Boolean);

C

HRESULT object->put_CellMultiline(VARIANT_BOOL Boolean);

Delphi

object.CellMultiline := Boolean   : WordBool;

object

A SftBoxColumn object.

Boolean

Defines whether multi-line text is allowed in cells in this column.

Boolean

Description

True

Allow multiple lines of cell text, in which case cell text word-wraps within the available space. New-line characters signal the start of a new line.

False

Cell text consists of a single line of text.

Comments

The CellMultiline property defines whether multi-line text is allowed in cells in this column.

If multiline cell text is allowed, the Items.Lines property can be used to reserve sufficient space.

The edit control portion will only display one line of text and a vertical scroll bar if multiple lines of text are available.

The value defined using the CellMultiline property applies to all cells in the column described by object.


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