RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.ScrollWidth Property

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

Pascal
property ScrollWidth: Integer;
C++
__property int ScrollWidth;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!