[Lazarus] TFrame improvements

Juha Manninen juha.manninen62 at gmail.com
Mon Nov 29 11:50:28 CET 2021

On Mon, Nov 29, 2021 at 12:36 PM Michael Van Canneyt via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> On Mon, 29 Nov 2021, Martin Frb via lazarus wrote:
> > - The property accesses "canvas" => that triggers asking for a handle
> > (which is created based on CreateParams)

Ah yes, Canvas.
TStringGrid also uses Canvas a lot, but apparently not in a property setter.

I often create a frame in code (so no parent) which is then placed on a
> form.
> Will this scenario still work ?

Yes, after my fix it still works.
It is better *not* to add other artificial restrictions. They would bring
no benefit as Martin noted.

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

More information about the lazarus mailing list