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

TControlScrollBar.Visible

Hides the scroll bar when False (default True).

Declaration

Source position: forms.pp line 163

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

Description

The scroll bar is visible only if (Visible = True) and (Range > Page).

Set Visible to False to hide the scroll bar. The content on the associated control can still be scrolled in program code.

Use IsScrollBarVisible to get the current visible state for the scroll bar.

See also

TControlScrollBar.IsScrollBarVisible

  

Determines if the scroll bar is visible using the state from the widgetset class.


Version 4.0 Generated 2025-05-03 Home