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

TControlScrollBar.Visible

Hides the scroll bar when False (default True).

Declaration

Source position: forms.pp line 150

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

Description

The scroll bar 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 if the scroll bar is visible using the state from the widgetset class.