SftTree/OCX 7.0

SftTreeHeader.Text Property

Softel vdm, Inc.

Defines this column 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 SftTreeHeader object.

String

Defines this column header's text.

Comments

The Text property defines this column header's text.

The alignment of the column header text can be defined using the Header.TextHAlign and Header.TextVAlign properties.

The column header text may contain new-line characters (CR-LF) if multi-line header text is enabled (see Headers.Multiline).

If the column header text is empty, the column header of the preceding column may merge into the empty column header, based on the Column.Merge and Column.MergeInto property settings.  The row/column header never merges into a column header.

When defining column header text using the Columns property page, any trailing empty lines are automatically removed.  To preserve a trailing empty line, add a space character to the line.

See Also  SftTreeHeader Object | Object Hierarchy


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