Vcl.Grids.TCustomGrid.ScrollBars

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ScrollBars: System.UITypes.TScrollStyle read FScrollBars write SetScrollBars default ssBoth;

C++

__property System::Uitypes::TScrollStyle ScrollBars = {read=FScrollBars, write=SetScrollBars, default=3};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Specifies whether the grid includes horizontal and vertical scroll bars.

Use ScrollBars to give the grid horizontal or vertical scroll bars.

Note: If all the cells in the grid fit in the ClientWidth, no horizontal scroll bar appears, even if ScrollBars is ssHorizontal or ssBoth. If all the cells fit in the ClientHeight, no vertical scroll bar appears, even if ScrollBars is ssVertical or ssBoth.

See Also