[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomSplitter.Paint

Draws the splitter control.

Declaration

Source position: extctrls.pp line 405

protected procedure TCustomSplitter.Paint; override;

Description

Paint is an overridden procedure used to draw the splitter control. Paint calls the inherited Paint method, and adds additional logic to handle drawing the splitter control.

The OnPaint event handler is signalled (when assigned) to draw the splitter control.

When OnPaint is unassigned (contains Nil), an internal routine is used to paint the gripper bar using the TThemedRebar settings in ThemeServices. The control is drawn using the theme settings needed for the state in the Enabled and Beveled properties, and the internal MouseInControl member.

See also

TCustomSplitter.Beveled

  

Indicates whether the edges of the splitter bar are beveled.

TCustomControl.Paint

  

Implements the default handler used to draw the control.

TCustomControl.OnPaint

  

Event handler signalled to paint the control.

TControl.Enabled

  

Determines whether the control responds to mouse or keyboard input.


Version 4.0 Generated 2025-05-03 Home