RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesigner60.GetScrollRanges Method

Returns the size of the logical designer window.

Pascal
function GetScrollRanges(const ScrollPosition: TPoint): TPoint;
C++
__fastcall TPoint GetScrollRanges(const TPoint ScrollPosition);

Call GetScrollRanges to determine the farthest point to which the designer can scroll. The ScrollPosition parameter specifies a point that must be included in the scroll range. GetScrollRanges returns the coordinates that minimally contain all components on the design surface plus the point specified by ScrollPosition. 

 

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