SftTree/OCX 7.0

VirtualItem.Enabled Property

Softel vdm, Inc.

Defines the item's enabled/disabled status.

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

Syntax       

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 VirtualItem object.

Boolean

Defines the item's enabled/disabled status.

Boolean

Description

True

The item is enabled.

False

The 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 VirtualItem.Item.Enabled instead

The Enabled property defines the item's enabled/disabled status.

The VirtualItem.Enabled property is used while handling a VirtualItem event to define the item's enabled/disabled status.  The item is described by the VirtualItem event's RowIndex parameter.

See Also  VirtualItem Object | Object Hierarchy


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