Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxHeaders.ButtonDown Property

Defines the currently pressed header button.

Syntax

Get

VB.NETButtonIndex = object.ButtonDown As Short
VBButtonIndex = object.ButtonDown As Integer
C#.NETshort ButtonIndex = object.ButtonDown;
VC++short ButtonIndex = object->ButtonDown;
short ButtonIndex = object->GetButtonDown();
CHRESULT object->get_ButtonDown(short* ButtonIndex);

Put

VB.NETobject.ButtonDown = ButtonIndex As Short
VBobject.ButtonDown = ButtonIndex As Integer
C#.NETshort object.ButtonDown = ButtonIndex;
VC++short object->ButtonDown = ButtonIndex;
void object->PutButtonDown(short ButtonIndex);
CHRESULT object->put_ButtonDown(short ButtonIndex);

object

A SftBoxHeaders object.

ButtonIndex

The zero-based index of the currently pressed column header. -1 if no header button is pressed.

Comments

The ButtonDown property defines the currently pressed header button.

This property can only be used if column headers are defined as buttons (see Headers.Style).

Only one column header button can be pressed at one time.

For header buttons to remain in their pressed position when the user clicks on them, the Header.RemainUp property must be set to False for each header.

See Also SftBoxHeaders Object | Object Hierarchy


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