[lazarus] New Bug Entered
Claude Rieth
claude.rieth at team.lu
Thu Nov 27 02:49:39 EST 2003
Hi,
sorry guys, I didnt check the exact delphi behaviour on this, you're right that i was wrong.
I'll check better next time befor submitting anything.
Regards,
Claude
23/11/03 14:01:39, Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
>Mattias Gaertner wrote:
>
>> On Fri, 7 Nov 2003 02:50:56 -0500 (EST) bugtracker at miraclec.com wrote:
>>
>>
>>>Title: LCL: TControl GetClientRect, GetClientWidth, GetCLientHeight
>>>
>>>Entered by: Claude Rieth
>>>
>>>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,
>>
>>
>> Can someone check this under Delphi?
>
> From Delphi help:
>
>"GetClientRect is the protected implementation of the ClientRect
>property. GetClientRect returns a rectangle with the rectangles Top and
>Left fields set to zero, and its Bottom and Right fields set to the
>control's ClientHeight and ClientWidth, respectively."
>
>Implementation is according to specification.
>
>I think the bug poster is looking at a different problem.
>
>Micha.
>
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
>
>
More information about the Lazarus
mailing list