Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemStatus Property, SftTree Object

Defines an item's enabled/disabled status.

Deprecated - Provided for compatibility with earlier versions only - Use Item.Enabled instead

Syntax

Get

VB.NETBoolean = object.get_ItemStatus(ByVal ItemIndex As Integer) As Boolean
VBBoolean = object.ItemStatus(ByVal ItemIndex As Long) As Boolean
C#.NETbool Boolean = object.get_ItemStatus(int ItemIndex);
VC++VARIANT_BOOL Boolean = object->ItemStatus[long ItemIndex];
VARIANT_BOOL Boolean = object->GetItemStatus(long ItemIndex);
CHRESULT object->get_ItemStatus(long ItemIndex, VARIANT_BOOL* Boolean);

Put

VB.NETobject.set_ItemStatus(ByVal ItemIndex As Integer, ByVal Boolean As Boolean)
VBobject.ItemStatus(ByVal ItemIndex As Long) = Boolean As Boolean
C#.NETvoid object.set_ItemStatus(int ItemIndex, bool Boolean);
VC++VARIANT_BOOL object->ItemStatus[long ItemIndex] = Boolean;
void object->PutItemStatus(long ItemIndex, VARIANT_BOOL Boolean);
CHRESULT object->put_ItemStatus(long ItemIndex, VARIANT_BOOL Boolean);

object

A SftTree object.

ItemIndex

The zero-based item index.

Boolean

Defines an item's enabled/disabled status.

BooleanDescription
TrueThe item is enabled.
FalseThe item is disabled. It is drawn in a "grayed" manner indicating its status. Except for the visual difference, a disabled item is treated exactly like an enabled item. It is up to the application to implement a different behavior if an item is disabled.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.Enabled instead

The ItemStatus property defines an item's enabled/disabled status.

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.