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

TControlScrollBar.Visible

Definitely hides the scrollbar when False (default True).

Declaration

Source position: forms.pp line 149

published property TControlScrollBar.Visible : Boolean
  read FVisible
  write SetVisible
  default True;

Description

The scrollbar widget is visible only if (Visible=True) and (Range>Page).

Set Visible to False to disallow the user to scroll the content, while the content still can be scrolled by code.

Use IsScrollBarVisible to get the current visible state of the widget.

See also

TControlScrollBar.IsScrollBarVisible

  

Determines the current widget state.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.