SftTree/OCX 7.0

SftTreeHeader.KeepPosition Property

Softel vdm, Inc.

Defines whether this column header must remain in its current position and cannot be reordered.

Syntax       

Get

VB.NET

Boolean = object.KeepPosition  As Boolean

VB

Boolean = object.KeepPosition  As Boolean

C#.NET

bool Boolean = object.KeepPosition;

VC++

VARIANT_BOOL Boolean = object->KeepPosition;
VARIANT_BOOL Boolean = object->GetKeepPosition();

C

HRESULT object->get_KeepPosition(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.KeepPosition   : WordBool;

Put

VB.NET

object.KeepPosition = Boolean  As Boolean

VB

object.KeepPosition = Boolean  As Boolean

C#.NET

bool object.KeepPosition = Boolean;

VC++

VARIANT_BOOL object->KeepPosition = Boolean;
void object->PutKeepPosition(VARIANT_BOOL Boolean);

C

HRESULT object->put_KeepPosition(VARIANT_BOOL Boolean);

Delphi

object.KeepPosition := Boolean   : WordBool;

object

A SftTreeHeader object.

Boolean

Defines whether this column header must remain in its current position and cannot be reordered.

Boolean

Description

True

The column must remain in the current column position.  Columns on the left can be reordered but cannot be moved to the right of the column and vice versa.  This is usually used with the first column, to prevent the user from changing its position when using column drag & drop

False

The column is not restricted to its current position.

Comments

The KeepPosition property defines whether this column header must remain in its current position and cannot be reordered.

The Headers.Reorderable property can be used to define whether columns can be reordered using column drag & drop.

See Also  SftTreeHeader Object | Object Hierarchy


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