Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowText Property, SftTree Object

Defines an item's row header text.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.Text instead

Syntax

Get

VB.NETText = object.get_RowText(ByVal ItemIndex As Integer) As String
VBText = object.RowText(ByVal ItemIndex As Long) As String
C#.NETstring Text = object.get_RowText(int ItemIndex);
VC++_bstr_t Text = object->RowText[long ItemIndex];
_bstr_t Text = object->GetRowText(long ItemIndex);
CHRESULT object->get_RowText(long ItemIndex, BSTR* Text);

Put

VB.NETobject.set_RowText(ByVal ItemIndex As Integer, ByVal Text As String)
VBobject.RowText(ByVal ItemIndex As Long) = Text As String
C#.NETvoid object.set_RowText(int ItemIndex, string Text);
VC++_bstr_t object->RowText[long ItemIndex] = Text;
void object->PutRowText(long ItemIndex, _bstr_t Text);
CHRESULT object->put_RowText(long ItemIndex, BSTR Text);

object

A SftTree object.

ItemIndex

The zero-based item index.

Text

Defines the item's row header text.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.Text instead

The RowText property defines an item's row header 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 SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.