Sign in Join
FPDoc Onlineexperiment

TFrame.AutoScroll property

Member of TFramepublishedIn unit Forms

Indicates whether scroll bars are automatically displayed or hidden when needed.

Declaration

pascal
property AutoScroll:;

Description

AutoScroll is a Boolean property which indicates if scroll bars are automatically displayed or hidden on the control as needed. The default value for the property is False.

Changing the value for the property causes the Visible property in both HorzScrollBar and VertScrollBar to be updated (if needed). When set to True, the UpdateScrollBars method is called to calculate the page, range, and visibility for the scroll bars. When set to False, the HideScrollbars method is called to reset and hide the scroll bars (when assigned).

This description is the one of Forms.TScrollingWinControl.AutoScroll.

See also

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