Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Pressed Property, SftTreeHeaders Object

Defines the currently pressed column header button.

Syntax

Get

VB.NETColIndex = object.Pressed As Short
VBColIndex = object.Pressed As Integer
C#.NETshort ColIndex = object.Pressed;
VC++short ColIndex = object->Pressed;
short ColIndex = object->GetPressed();
CHRESULT object->get_Pressed(short* ColIndex);

Put

VB.NETobject.Pressed = ColIndex As Short
VBobject.Pressed = ColIndex As Integer
C#.NETshort object.Pressed = ColIndex;
VC++short object->Pressed = ColIndex;
void object->PutPressed(short ColIndex);
CHRESULT object->put_Pressed(short ColIndex);

object

A SftTreeHeaders object.

ColIndex

Defines the currently pressed column header button. This can be -1 if no column header button is pressed.

Comments

The Pressed 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 Headers.Pressed property does not have to be used.

See Also SftTreeHeaders Object | Object Hierarchy


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