SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the area of the item area in the left pane.
Class: LeftPane
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public Rectangle ItemsArea { get; }
Public ReadOnly Property ItemsArea As Rectangle
The area of the item area in the left pane.
Returns the area of the item area in the left pane.
The SplitterClass.Width and SplitterClass.Offset properties are used to define the size and location of the splitter bar, which affects the width of the left and right panes.
// set all textbox properties textBox1.Parent = sftTree1; // make the tree control the parent window textBox1.Text = e.Cell.Text; int h = textBox1.Height; Rectangle r = e.rCell; // limit the control to the left (and only) pane r.Intersect(sftTree1.Splitter.Left.ItemsArea); int vOffs = (r.Size.Height - textBox1.Height) / 2; textBox1.Location = new Point(r.Location.X, r.Location.Y + vOffs); textBox1.Width = r.Width; // make it visible and enable it textBox1.Enabled = true; textBox1.Visible = true;
See Also LeftPane Class | Classes | SftTree/NET 2.0