RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScrollBox Class

TScrollBox represents a scrolling area (a scroll box) in a window.

Pascal
TScrollBox = class(TScrollingWinControl);
C++
class TScrollBox : public TScrollingWinControl;

Forms

Use TScrollBox to create a scroll box in a window. 

One use of a scroll box is to prevent areas of a window, such as a toolbar or status bar built with TPanel components, from scrolling. To prevent a toolbar and status bar from scrolling, hide the window's scroll bars, and then position a scroll box in the client area of the window between the toolbar and status bar. The scroll bars associated with the scroll box will appear to belong to the window, but will scroll only the area inside the scroll box. 

Another use of scroll boxes is to create multiple scrolling areas (views) in a window. Views are common in commercial word-processor, spreadsheet, and project management applications. 

A scroll box can contain objects, such as TButton and TCheckBox objects. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!