Sign in Join
FPDoc Onlineexperiment

TControlScrollBar.SetVisible procedure

Member of TControlScrollBarprotectedIn unit Forms

Hides the scroll bar when False (default True).

Declaration

pascal
procedure SetVisible(const AValue: Boolean); virtual

Arguments

AValue

New value for the property.

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.

This description is the one of Forms.TControlScrollBar.Visible.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.