Home | GR32_Image | TCustomPaintBox32 |
TCustomPaintBox32.GetViewportRect
function GetViewportRect: TRect; virtual; // protected
Description
Returns coordinates of the buffered area relative to control's client area. By default, it coincides with the control's client rectangle, that is, the function returns (0, 0, ClientWidth, ClientHeight) rectangle.
Descendants may override this method and return a different rectangle if they have unbuffered areas, like scroll bars.
See Also
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007