API:Vcl.StdCtrls.TListBox.ScrollWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ScrollWidth: Integer read GetScrollWidth write SetScrollWidth default 0;

C++

__property ScrollWidth = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TListBox

Description

Specifies the width, in pixels, by which the list box can scroll horizontally.

Vcl.StdCtrls.TListBox.ScrollWidth inherits from Vcl.StdCtrls.TCustomListBox.ScrollWidth. All content below this line refers to Vcl.StdCtrls.TCustomListBox.ScrollWidth.

Specifies the width, in pixels, by which the list box can scroll horizontally.

Use ScrollWidth to get or set the logical width of the list box. When ScrollWidth is greater than the client width of the list box, the list box gets a horizontal scroll bar. When ScrollWidth is less than or equal to ClientWidth, the horizontal scroll bar disappears.

See Also