SftTree/OCX 7.0

SftTree.VirtualMode Property

Softel vdm, Inc.

Defines whether the tree control is in virtual mode.

Syntax       

Get

VB.NET

Boolean = object.VirtualMode  As Boolean

VB

Boolean = object.VirtualMode  As Boolean

C#.NET

bool Boolean = object.VirtualMode;

VC++

VARIANT_BOOL Boolean = object->VirtualMode;
VARIANT_BOOL Boolean = object->GetVirtualMode();

C

HRESULT object->get_VirtualMode(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.VirtualMode   : WordBool;

Put

VB.NET

object.VirtualMode = Boolean  As Boolean

VB

object.VirtualMode = Boolean  As Boolean

C#.NET

bool object.VirtualMode = Boolean;

VC++

VARIANT_BOOL object->VirtualMode = Boolean;
void object->PutVirtualMode(VARIANT_BOOL Boolean);

C

HRESULT object->put_VirtualMode(VARIANT_BOOL Boolean);

Delphi

object.VirtualMode := Boolean   : WordBool;

object

A SftTree object.

Boolean

Defines whether the tree control is in virtual mode.

Boolean

Description

True

The tree control is in virtual mode.

False

The tree control is not in virtual mode.

Comments

The VirtualMode property defines whether the tree control is in virtual mode.

In virtual mode, the tree control can be used to display flat lists (without hierarchy) with up to 2,000,000,000 items.

If virtual mode is used, graphics, colors and all tree control data and attributes are provided by the VirtualItem event, which the application must implement to use a virtual data source.  This eliminates lengthy initialization when many items are to be displayed. 

See Also  SftTree Object | Object Hierarchy


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