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

TCustomScrollBar.Position

The position of the slider in the scrollbar.

Declaration

Source position: stdctrls.pp line 110

public property TCustomScrollBar.Position : Integer
  read FPosition
  write SetPosition
  default 0;

Description

Position contains a value in the range specified by the Min and Max properties. The default value for the property is 0. Changing the value for the property causes the SetParams method to be called to apply the values in Position, Min, Max, and PageSize to the scrollbar information stored in the widgetset class instance.

See also

TCustomScrollBar.Max

  

The maximum value for the bottom or right position depending on orientation.

TCustomScrollBar.Min

  

The minimum value for the top or left position depending on orientation.

TCustomScrollBar.PageSize

  

The size of the slider relative to the total scroll range.

TCustomScrollBar.SetParams

  

Updates the Min and Max values, the size of the page, and the position in the scrollbar.


Version 4.0 Generated 2025-05-03 Home