To create a window similar to Windows Explorer, add a TreeView control to a form and set its Dock property to Left. Add a Splitter control to the form and set its Dock property to Left as well. To complete the form layout, add a ListView control and set its Dock property to Fill to have the ListView occupy the remaining space on the form. At run time, the user can then resize the width of the TreeView control (as well as the ListView control) by moving the Splitter control.

Break On $System = CreateObject("Kixtart.System") $Form = $System.Form() $Form.Size = 640,480 $Form.Center() $Form.ToolGroupBox = $Form.GroupBox() $Form.ToolGroupBox.Height = 30 $Form.ToolGroupBox.Dock = 1 $Form.StatusGroupBox = $Form.GroupBox() $Form.StatusGroupBox.Height = 20 $Form.StatusGroupBox.Dock = 2 $Form.TreeView1 = $Form.TreeView() $Form.TreeView1.Width = $Form.ClientWidth / 4 $Form.TreeView1.Dock = 3 $Form.Splitter1 = $Form.Splitter() $Form.Splitter1.Dock = 3 $Form.ListView1 = $Form.ListView() $Form.ListView1.Dock = 5 $Form.Show While $Form.Visible $=Execute($System.Application.DoEvents) Loop Exit 1




The CHM file was converted to HTML by chm2web software.