Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ColHeaderButton Property, SftTree Object

Defines the currently pressed column header button.

Deprecated - Provided for compatibility with earlier versions only - Use Headers.Pressed instead

Syntax

Get

VB.NETColIndex = object.ColHeaderButton As Short
VBColIndex = object.ColHeaderButton As Integer
C#.NETshort ColIndex = object.ColHeaderButton;
VC++short ColIndex = object->ColHeaderButton;
short ColIndex = object->GetColHeaderButton();
CHRESULT object->get_ColHeaderButton(short* ColIndex);

Put

VB.NETobject.ColHeaderButton = ColIndex As Short
VBobject.ColHeaderButton = ColIndex As Integer
C#.NETshort object.ColHeaderButton = ColIndex;
VC++short object->ColHeaderButton = ColIndex;
void object->PutColHeaderButton(short ColIndex);
CHRESULT object->put_ColHeaderButton(short ColIndex);

object

A SftTree object.

ColIndex

The zero-based column number of the header button that is currently pressed. This can be -1 if no column header button is pressed.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Headers.Pressed instead

The ColHeaderButton property defines the currently pressed column header button.

Only one button can be pressed at a time. All buttons can be reset by specifying -1 as ColIndex.

The Header.RemainUp property can be used to allow header buttons to automatically return to their "up" position, so the ColHeaderButton property does not have to be used.

See Also SftTree Object | Object Hierarchy


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