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

# TCustomSplitter.FindAlignControl

FindAlignControl returns the main alignment control for the splitter.

## Declaration

Source position: extctrls.pp line 396

`protected function TCustomSplitter.FindAlignControl: TControl;`

## Function result

TControl instance to which the splitter is aligned, or Nil when a sibling control is not found.

## Description

FindAlignControl is a TControl function used to get the control to which the splitter is aligned.

Called from the GetResizeControl method which gets the value for the ResizeControl property.

## See also

TCustomSplitter.FindAlignOtherControl |  | FindAlignOtherControl returns the other (secondary) alignment control for the splitter.
TCustomSplitter.ResizeControl |  | Contains the aligned control that is resized when the splitter is moved.
TCustomSplitter.Align |  | Specifies the aligned edge for the splitter within its Parent and relative to ResizeControl.