[lazarus] Bug Report Update - LCL: TControl GetClientRect, GetClientWidth, GetCLientHeight

bugtracker at miraclec.com bugtracker at miraclec.com
Tue Dec 23 09:21:47 EST 2003



Title: LCL: TControl GetClientRect, GetClientWidth, GetCLientHeight

Entered by: Claude Rieth

Original Description:
In   TControl  (control.inc)

GetClientRect returns Right and Bottom as Width and Height, it should be Width-1 and Height-1

GetClientWidth returns Right, should be Right+1 
GetClientHeight return Bottom, should be Bottom+1

TWinControl.GetClientRect has the same problem, 

Correcting this automagically fixes different glitches in the UI 

Updated by: Mattias

Status: Not a bug

Comments:
MG






More information about the Lazarus mailing list