Sign in Join
FPDoc Onlineexperiment

TControlScrollBar.InternalSetRange procedure

Member of TControlScrollBarprotectedIn unit Forms

Validates and applies the specified Range and updates the scroll bars.

Declaration

pascal
procedure InternalSetRange(const AValue: Integer); virtual

Arguments

AValue

Value checked and applied to the Range property.

Description

Ensures that AValue is not less than zero (0). Applies the range limited value to the member for the Range property, and calls ControlUpdateScrollBars to refresh the scroll bars for the associated TScrollingWinControl instance.

InternalSetRange is called when the SetRange method updates the value for the Range property.

See also

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