Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SplitterOffset Property, SftTree Object

Defines the horizontal offset of the splitter bar in a split tree control.

Deprecated - Provided for compatibility with earlier versions only - Use Splitter.Offset instead

Syntax

Get

VB.NETOffset = object.SplitterOffset As Single
VBOffset = object.SplitterOffset As Single
C#.NETfloat Offset = object.SplitterOffset;
VC++float Offset = object->SplitterOffset;
float Offset = object->GetSplitterOffset();
CHRESULT object->get_SplitterOffset(float* Offset);

Put

VB.NETobject.SplitterOffset = Offset As Single
VBobject.SplitterOffset = Offset As Single
C#.NETfloat object.SplitterOffset = Offset;
VC++float object->SplitterOffset = Offset;
void object->PutSplitterOffset(float Offset);
CHRESULT object->put_SplitterOffset(float Offset);

object

A SftTree object.

Offset

Defines the horizontal offset of the splitter bar in a split tree control. If -1 is specified, the splitter bar is centered in the tree control's client area making each pane the same size and the SplitterOffset property is updated with the actual offset. If the offset specified falls outside of the client area, the splitter bar is aligned with the left or right edge, whichever is closer to the offset specified. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Splitter.Offset instead

The SplitterOffset property defines the horizontal offset of the splitter bar in a split tree control.

The Splitter.Visible property is used to define a splitter bar.

Splitter.MakeOptimal can be used to position the splitter bar optimally, so the left pane can display as much data as possible without a horizontal scroll bar (based on the left pane's Items.HorizontalExtent property).

The coordinates of the splitter bar can be retrieved using Splitter.GetPosition.

The Splitter.Width property is used to change the width of the splitter bar.

See Also SftTree Object | Object Hierarchy


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