SftTree/OCX 7.0

SftTree.HandleReturn Property

Softel vdm, Inc.

Defines whether the control accepts and handles the RETURN key.

Syntax       

Get

VB.NET

Boolean = object.HandleReturn  As Boolean

VB

Boolean = object.HandleReturn  As Boolean

C#.NET

bool Boolean = object.HandleReturn;

VC++

VARIANT_BOOL Boolean = object->HandleReturn;
VARIANT_BOOL Boolean = object->GetHandleReturn();

C

HRESULT object->get_HandleReturn(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.HandleReturn   : WordBool;

Put

VB.NET

object.HandleReturn = Boolean  As Boolean

VB

object.HandleReturn = Boolean  As Boolean

C#.NET

bool object.HandleReturn = Boolean;

VC++

VARIANT_BOOL object->HandleReturn = Boolean;
void object->PutHandleReturn(VARIANT_BOOL Boolean);

C

HRESULT object->put_HandleReturn(VARIANT_BOOL Boolean);

Delphi

object.HandleReturn := Boolean   : WordBool;

object

A SftTree object.

Boolean

Defines whether the control accepts and handles the RETURN key.

Boolean

Description

True

The control accepts and handles the RETURN key.  The RETURN key is equivalent to double-clicking an item, resulting in an ItemDblClick event with AreaType = constSftTreeText (also see AutoRespond).

False

The control ignores the RETURN key.  This allows an enclosing form's default button to respond to the RETURN key instead.

Comments

The HandleReturn property defines whether the control accepts and handles the RETURN key.

See Also  SftTree Object | Object Hierarchy


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