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

# TControlScrollBar.InvalidateScrollInfo

Renders scroll information invalid for the control.

## Declaration

Source position: forms.pp line 136

`protected procedure TControlScrollBar.InvalidateScrollInfo;`

## Description

InvalidateScrollInfo is used to mark the current TScrollInfo in the control as invalid. This occurs when a new value is assigned to the Position property, and when ScrollHandler applies position information found in TLMScroll messages. Calling InvalidateScrollInfo results in TScrollInfo being updated and applied for scrolling window controls in the UpdateScrollBar method.

## See also

TControlScrollBar.Position |  | Position of the scroll bar slider in the range 0..Range-Page.
TControlScrollBar.UpdateScrollBar |  | Updates the state and position for the scroll bar on the associated control.
TControlScrollBar.ScrollHandler |  | Handler for scroll bar movement messages.
TLMScroll |  |