|
|
|
SftTree.SplitterOffset Property |
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
VB.NET |
Offset = object.SplitterOffset As Single |
||
VB |
Offset = object.SplitterOffset As Single |
||
C#.NET |
float Offset = object.SplitterOffset; |
||
VC++ |
float Offset = object->SplitterOffset;
|
||
C |
HRESULT object->get_SplitterOffset(float* Offset); |
||
Delphi |
Offset := object.SplitterOffset : Single; |
||
VB.NET |
object.SplitterOffset = Offset As Single |
||
VB |
object.SplitterOffset = Offset As Single |
||
C#.NET |
float object.SplitterOffset = Offset; |
||
VC++ |
float object->SplitterOffset = Offset;
|
||
C |
HRESULT object->put_SplitterOffset(float Offset); |
||
Delphi |
object.SplitterOffset := Offset : Single; |
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