SftTree/OCX 7.0

SftTreeItems.ShowFocusRectangle Property

Softel vdm, Inc.

Defines whether the focus rectangle is displayed.

Syntax       

Get

VB.NET

Boolean = object.ShowFocusRectangle  As Boolean

VB

Boolean = object.ShowFocusRectangle  As Boolean

C#.NET

bool Boolean = object.ShowFocusRectangle;

VC++

VARIANT_BOOL Boolean = object->ShowFocusRectangle;
VARIANT_BOOL Boolean = object->GetShowFocusRectangle();

C

HRESULT object->get_ShowFocusRectangle(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.ShowFocusRectangle   : WordBool;

Put

VB.NET

object.ShowFocusRectangle = Boolean  As Boolean

VB

object.ShowFocusRectangle = Boolean  As Boolean

C#.NET

bool object.ShowFocusRectangle = Boolean;

VC++

VARIANT_BOOL object->ShowFocusRectangle = Boolean;
void object->PutShowFocusRectangle(VARIANT_BOOL Boolean);

C

HRESULT object->put_ShowFocusRectangle(VARIANT_BOOL Boolean);

Delphi

object.ShowFocusRectangle := Boolean   : WordBool;

object

A SftTreeItems object.

Boolean

Defines whether the focus rectangle is displayed.

Boolean

Description

True

The focus rectangle is displayed when the tree control has the input focus.

False

the focus rectangle is never displayed.

Comments

The ShowFocusRectangle property defines whether the focus rectangle is displayed.

The ShowFocusRectangle property can be used to turn off the display of the focus rectangle.  This could be useful for applications that wish to implement cell selection, rather than the tree control's standard item selection (i.e. an entire row is selected). 

See Also  SftTreeItems Object | Object Hierarchy


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