TControlScrollBar.Smooth property
Enables smooth scrolling, with automatic adjustment of Increment and Page.
Declaration
property Smooth: Boolean read GetSmooth write SetSmooth default False;Description
Smooth is a
Boolean property that indicates if the
associated control is scrolled using an Increment value computed to be 10% of
the Page size for the scroll bar. Set Smooth to
True when the scroll
bar should use a scrolling increment based on the size of the client area in
the associated control. When Smooth is set to
False, the
Increment property determines the size for the scroll operation
when the Up or Down arrows are clicked.
Smooth is used in the UpdateScrollBar method, and when set to
True causes the value in Increment to be recalculated using the
proportional size value. Smooth is relevant when the associated control is
descended from TScrollingWinControl.
The default value for the property is False.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
