Sign in Join
FPDoc Onlineexperiment

TCustomSplitter.Paint procedure

Member of TCustomSplitterprotectedIn unit ExtCtrls

Draws the splitter control.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.