RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.BoundingRect Property

Denotes the bounding rectangle for the items in the list view.

Pascal
property BoundingRect: TRect;
C++
__property TRect BoundingRect;

Read BoundingRect to obtain the screen coordinates of a rectangle that encloses all the items in the list view. BoundingRect allows an application to adjust the size of the control to fit the items or to determine whether the mouse is over any of the list items.

Note: To use BoundingRect, the list view's ViewStyle property must be either vsIcon or vsSmallIcon.
 

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