[Lazarus] Extending TRect breaks Lazarus

Dmitry Boyarintsev skalogryz.lists at gmail.com
Fri Nov 6 17:08:29 CET 2015

On Fri, Nov 6, 2015 at 10:45 AM, Marco van de Voort <marcov at stack.nl> wrote:

> I haven't investigated deeper yet, but I suspect the heavy use of WITH in
> interfaces etc is the cause.  (if you assign width and height of a
> component in a component method in a WITH with a TRECT as argument, then
> now
> width and height of the trect are assigned instead of the component's ?

This is odd. How adding  the method to TRect didn't break much for Delphi?
(or maybe it did, we just don't know it).
I'd think that Delphi /3d party components code also uses a lot of WITHs
with TRects

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151106/a196158a/attachment-0003.html>

More information about the Lazarus mailing list