Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TScrollBox.AutoScroll

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

Declaration

Source position: forms.pp line 229

published property TScrollBox.AutoScroll : Boolean
  default True;

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 True in TScrollBox.

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).

See also

TScrollingWinControl.AutoScroll

  

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

TScrollingWinControl.UpdateScrollbars

  

Initializes or updates the scroll bars for the control.

TScrollingWinControl.HorzScrollBar

  

The horizontal scroll bar for the control.

TScrollingWinControl.VertScrollBar

  

The vertical scroll bar for the control.



CT Web help

CodeTyphon Studio