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

TCustomSplitter.SetSplitterPosition

Changes the position for the splitter to the specified NewPosition.

Declaration

Source position: extctrls.pp line 394

public procedure TCustomSplitter.SetSplitterPosition(

  NewPosition: Integer

);

Arguments

NewPosition

  

Coordinate where the splitter is moved in the orientation for the ResizeAnchor.

Description

Calls MoveSplitter using the difference between NewPosition and the current splitter position as an argument.

See also

TCustomSplitter.MoveSplitter

  

MoveSplitter moves the splitter by an amount specified in Offset.

TCustomSplitter.GetSplitterPosition

  

GetSplitterPosition returns the current position of the splitter.