[Lazarus] Extending TRect breaks Lazarus

Marco van de Voort marcov at stack.nl
Sat Nov 7 00:21:09 CET 2015


On Fri, Nov 06, 2015 at 07:25:01PM +0100, Mattias Gaertner wrote:
> > width and height of the trect are assigned instead of the component's ?
> 
> Thanks for the hint.
> 
> Does Delphi alter some other records too, e.g. TPoint and TSize?
> 
> Hint:
> Cody has a tool 'Explode a "With" block':
> http://wiki.lazarus.freepascal.org/Cody#Explode_a_.22With.22_block

Would have been nice to run that on the code that I replied to Michael.
(with the local procedure)

Anyway, I hunted down one case by raise tobject.create, and running in the
debugger, and I committed a fix. The Win32 lazarus now seems to function
normally at first glance.




More information about the Lazarus mailing list