[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.GetChildsRect

Get the visible part of a possibly scrolled client area.

Declaration

Source position: controls.pp line 1525

public function TControl.GetChildsRect(

  Scrolled: Boolean

):TRect; virtual;

Arguments

Scrolled

  

True forces scrolling taken into account.

Function result

The visible part of the client area.

Description

If Scrolled is False, the ScrollOffset is ignored, so that the ClientRect is returned.