Vcl.StdCtrls.TCustomListBox.ScrollWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ScrollWidth: Integer read GetScrollWidth write SetScrollWidth default 0;

C++

__property int ScrollWidth = {read=GetScrollWidth, write=SetScrollWidth, default=0};

Properties

Type Visibility Source Unit Parent
property public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

Description

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