EControl Form Designer Pro
TzCustomFormDesigner.GetScrollRanges Method

Returns the size of the logical designer window.

function GetScrollRanges(const ScrollPosition: TPoint): TPoint;

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) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!