HeaderPane
Main
Hide
Share Link
Print

ShowFocusRectangle Property, SftTree Object

Defines whether the focus rectangle is displayed.

Deprecated - Provided for compatibility with earlier versions only - Use Items.ShowFocusRectangle instead

Syntax

Get

C#bool Boolean = object.ShowFocusRectangle;
VB.NETBoolean = object.ShowFocusRectangle As Boolean
C++VARIANT_BOOL Boolean = object->ShowFocusRectangle;
VARIANT_BOOL Boolean = object->GetShowFocusRectangle();
CHRESULT object->get_ShowFocusRectangle(VARIANT_BOOL* Boolean);
VBBoolean = object.ShowFocusRectangle As Boolean

Put

C#bool object.ShowFocusRectangle = Boolean;
VB.NETobject.ShowFocusRectangle = Boolean As Boolean
C++VARIANT_BOOL object->ShowFocusRectangle = Boolean;
void object->PutShowFocusRectangle(VARIANT_BOOL Boolean);
CHRESULT object->put_ShowFocusRectangle(VARIANT_BOOL Boolean);
VBobject.ShowFocusRectangle = Boolean As Boolean

object

A SftTree object.

Boolean

Defines whether the focus rectangle is displayed.

BooleanDescription
TrueThe focus rectangle is displayed when the tree control has the input focus.
Falsethe focus rectangle is never displayed.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.ShowFocusRectangle instead

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 SftTree Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.