TcxCustomSplitter Class
Serves as a base class for splitter controls.
Declaration
TcxCustomSplitter = class(
TcxControl
)
Remarks
Splitter controls enable you to create panes which can be resized easily by end-users. A common practice is to divide the form using several panel controls separated by splitters. In this case, end-users can resize panels by dragging the splitter and expand/collapse them by a single click on the splitter’s hot zone. So, if you have groups of controls that are used less often, you can place them onto resizable panels. In this case, end-users can hide these control groups and make them visible again as and when needed.
The image below shows an example of a form using splitters to create resizable panes. Refer to the Using the TcxSplitter topic for information on how to create such a form structure.
The TcxCustomSplitter class implements all the functionality required by splitters. Among other features, it provides four types of hot zone (the central element used to collapse/expand controls at one side by a single click). Use the HotZone property to choose the hot zone style that suits your needs. This property can reference any TcxHotZoneStyle descendant. Thus, you can create your own hot zone appearance by deriving from this class and assigning the inherited object to the HotZone property. Refer to the Creating Custom Hot Zones for Splitters topic for details.
Do not create instances of the TcxCustomSplitter class in applications. Use this class to create custom splitter controls. If you need to place a splitter control on a form, use the TcxSplitter control. It is derived from the TcxCustomSplitter and publishes its properties and events.