SftTree/OCX 7.0

SftTreeRowColumnHeader.Enabled Property

Softel vdm, Inc.

Defines whether the row/column header is enabled.

Syntax       

Get

VB.NET

Boolean = object.Enabled  As Boolean

VB

Boolean = object.Enabled  As Boolean

C#.NET

bool Boolean = object.Enabled;

VC++

VARIANT_BOOL Boolean = object->Enabled;
VARIANT_BOOL Boolean = object->GetEnabled();

C

HRESULT object->get_Enabled(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Enabled   : WordBool;

Put

VB.NET

object.Enabled = Boolean  As Boolean

VB

object.Enabled = Boolean  As Boolean

C#.NET

bool object.Enabled = Boolean;

VC++

VARIANT_BOOL object->Enabled = Boolean;
void object->PutEnabled(VARIANT_BOOL Boolean);

C

HRESULT object->put_Enabled(VARIANT_BOOL Boolean);

Delphi

object.Enabled := Boolean   : WordBool;

object

A SftTreeRowColumnHeader object.

Boolean

Defines whether the row/column header is enabled.

Boolean

Description

True

The row/column header is enabled.

False

The row/column header is disabled.

Comments

The Enabled property defines whether the row/column header is enabled.

A disabled row/column header is drawn using the RowColumnHeader.GrayedColor property value as text color and the row/column header graphic (see RowColumnHeader.Image property) is drawn in a "grayed" fashion, if it is 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 row/column header button does not generate ItemClick events.

See Also  SftTreeRowColumnHeader Object | Object Hierarchy


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