SftTree/OCX 7.0

SftTreeFooters.Pressed Property

Softel vdm, Inc.

Defines the currently pressed column footer button.

Syntax       

Get

VB.NET

ColIndex = object.Pressed  As Short

VB

ColIndex = object.Pressed  As Integer

C#.NET

short ColIndex = object.Pressed;

VC++

short ColIndex = object->Pressed;
short ColIndex = object->GetPressed();

C

HRESULT object->get_Pressed(short* ColIndex);

Delphi

ColIndex := object.Pressed   : Smallint;

Put

VB.NET

object.Pressed = ColIndex  As Short

VB

object.Pressed = ColIndex  As Integer

C#.NET

short object.Pressed = ColIndex;

VC++

short object->Pressed = ColIndex;
void object->PutPressed(short ColIndex);

C

HRESULT object->put_Pressed(short ColIndex);

Delphi

object.Pressed := ColIndex   : Smallint;

object

A SftTreeFooters object.

ColIndex

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

Comments

The Pressed property defines the currently pressed column footer button.

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

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

See Also  SftTreeFooters Object | Object Hierarchy


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