Navigator > Setup > Form Designer > Layout tab > Component Editor > Properties tab
A Splitter control can be placed between aligned components to allow users to resize the components. You can use Splitters with components like Panels and Group Boxes. Splitters let you divide a form into several panes with multiple controls on each pane.
The order you place components and Splitter controls is very important. Splitters can be linked to the component placed immediately before the splitter. Make sure the parent component of the splitter is selected when you place a splitter bar.
To use a Splitter, first place a container component on the form, such as a panel or a scroll box, then add a Splitter with the same alignment as the control. Add another container component and set its Align to the same as the splitter or to alClient. Set the MinSize to specify the minimum size the splitter must leave the components when resizing. Setting Align to alClient will make the component take up the remaining space on its parent control.
For example, you can place a panel on the left edge of a form and set the Align to alLeft, then place a splitter that is also aligned to alLeft to the right of the panel. Finally place another panel aligned to alLeft or alClient to the right of the splitter. It is recommended that the right-most or bottom panel is set to alClient.
Accredo remembers window sizes and splitter positions when not Tabbed or Maximised.
See also Form Designer Component Properties for properties common to different component types.
The following properties are available for Splitter Components:
AutoSnap |
When False, the splitter cannot resize neighbouring objects to zero when the user tries to make them smaller than the MinSize. This defaults to True. |
Beveled |
When True, the splitter's edge has a 3D look. |
Color |
The colour of the splitter. Click |
Constraints |
Click the + button to expand. Select the maximum and minimum sizes for the splitter. |
Hint |
The Hint text to be displayed when the mouse hovers over the component. |
LinkedControl |
The container control the splitter is linked to. |
MinSize |
The minimum size the splitter must leave when resizing its neighbouring control. For example, if the Align property is alLeft or alRight, the splitter cannot resize the regions to its left or right any smaller than MinSize pixels. Defaults to 30. Note: Always set MinSize to less than half the client width of its parent, or the splitter will not be able to move. |
ParentColor |
When True, the Color is set to the colour of the parent form. |
ResizeStyle |
Choose the resize style from:
|
Visible |
When True, the component will be displayed. |