[Lazarus] Inconsistent ScrolledClientRect calculation

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Oct 7 08:05:36 CEST 2011


On Fri, Oct 7, 2011 at 6:34 AM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> The ambiguous use of TRect, with either BottomRight or WidthHeight in the
> second TPoint, often leads to misunderstandings and flawed code (as above).
> It were helpful when type alias would be introduced and used, or when the
> argument names would indicate the current content of an TRect.

Where exactly is TRect used to hold the Width and Height? File and Line.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list