Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ColHeaderEnabled Property, SftTree Object

Defines whether the specified column header is enabled.

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

Syntax

Get

VB.NETEnabled = object.get_ColHeaderEnabled(ByVal ColIndex As Short) As Boolean
VBEnabled = object.ColHeaderEnabled(ByVal ColIndex As Integer) As Boolean
C#.NETbool Enabled = object.get_ColHeaderEnabled(short ColIndex);
VC++VARIANT_BOOL Enabled = object->ColHeaderEnabled[short ColIndex];
VARIANT_BOOL Enabled = object->GetColHeaderEnabled(short ColIndex);
CHRESULT object->get_ColHeaderEnabled(short ColIndex, VARIANT_BOOL* Enabled);

Put

VB.NETobject.set_ColHeaderEnabled(ByVal ColIndex As Short, ByVal Enabled As Boolean)
VBobject.ColHeaderEnabled(ByVal ColIndex As Integer) = Enabled As Boolean
C#.NETvoid object.set_ColHeaderEnabled(short ColIndex, bool Enabled);
VC++VARIANT_BOOL object->ColHeaderEnabled[short ColIndex] = Enabled;
void object->PutColHeaderEnabled(short ColIndex, VARIANT_BOOL Enabled);
CHRESULT object->put_ColHeaderEnabled(short ColIndex, VARIANT_BOOL Enabled);

object

A SftTree object.

ColIndex

The zero-based column number.

Enabled

Defines whether the specified column header is enabled.

BooleanDescription
TrueThe column header is enabled.
FalseThe column header is disabled.

Comments

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

The ColHeaderEnabled property defines whether the specified column header is enabled.

A disabled column header is drawn using the Headers.GrayedColor property value as text color and column header graphics (see Header.Image property) are drawn in a "grayed" fashion, if based on a bitmap. Other image types, like color samples, .NET image objects, etc., must be explicitly replaced with a grayed image if a different rendering of a disabled image is desired.

A disabled column header button does not generate ItemClick or ItemDblClick events.

See Also SftTree Object | Object Hierarchy


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