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

# TCustomSplitter.FindAlignOtherControl

FindAlignOtherControl returns the other (secondary) alignment control for the splitter.

## Declaration

Source position: extctrls.pp line 397

`protected function TCustomSplitter.FindAlignOtherControl: TControl;`

## Function result

The adjacent control which is resized when the splitter control s moved.

## Description

FindAlignOtherControl is a TControl function used to get the other (secondary) control which is resized when the size for the primary control is changed.

Called from the GetOtherResizeControl and MoveSplitter methods when the position for the splitter control has been changed.

## See also

TCustomSplitter.GetOtherResizeControl |  | Gets the adjacent anchored control that is resized when the splitter is moved.
TCustomSplitter.MoveSplitter |  | Moves the splitter by an amount specified in Offset.
TCustomSplitter.FindAlignControl |  | FindAlignControl returns the main alignment control for the splitter.
TCustomSplitter.Align |  | Specifies the aligned edge for the splitter within its Parent and relative to ResizeControl.