SftBox/OCX 4.5

SftBoxCell.Text Property

Softel vdm, Inc.

Defines the cell's text.

Syntax       

Get

VB.NET

String = object.Text  As String

VB

String = object.Text  As String

C#.NET

string String = object.Text;

VC++

_bstr_t String = object->Text;
_bstr_t String = object->GetText();

C

HRESULT object->get_Text(BSTR* String);

Delphi

String := object.Text   : WideString;

Put

VB.NET

object.Text = String  As String

VB

object.Text = String  As String

C#.NET

string object.Text = String;

VC++

_bstr_t object->Text = String;
void object->PutText(_bstr_t String);

C

HRESULT object->put_Text(BSTR String);

Delphi

object.Text := String   : WideString;

object

A SftBoxCell object.

String

Defines the cell's text.

Comments

The Text property defines the cell's text.

The default cell text alignment for a column is defined using the Column.CellHAlign and Column.CellVAlign properties. A cell can override the default using the Cell.TextHAlign and Cell.TextVAlign properties.

The font used for the cell text is defined using the control's Font and Cell.Font properties.

A cell can contain a single line of text or multiple lines of text based on the Column.CellMultiline property.

The Items.Add, Items.Insert and Items.InsertAfter methods add new items. The text specified when adding new items always defines the cell text for the first or only column (column 0).


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