SftTree/OCX 7.0

SftTreeRowHeader.Text Property

Softel vdm, Inc.

Defines the row header'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 SftTreeRowHeader object.

String

Defines the row header's text.

Comments

The Text property defines the row header's text.

The Items.Add and Items.Insert methods add new items.  The default text of the row header depends on the RowHeaders.Appearance property.

Row headers can support multiple text lines (see RowHeaders.Lines) by using new-line characters (CR-LF) to start a new line.  Word-wrap is not supported.

The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.  A row header can override the default using the RowHeader.TextHAlign and RowHeader.TextVAlign properties.

See Also  SftTreeRowHeader Object | Object Hierarchy


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