<div dir="ltr"><div dir="ltr"><div dir="ltr">On Mon, Nov 29, 2021 at 12:36 PM Michael Van Canneyt via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On Mon, 29 Nov 2021, Martin Frb via lazarus wrote:<br>> - The property accesses "canvas" => that triggers asking for a handle <br>
> (which is created based on CreateParams)<br></blockquote><div><br></div><div>Ah yes, Canvas.</div><div>TStringGrid also uses Canvas a lot, but apparently not in a property setter.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I often create a frame in code (so no parent) which is then placed on a form.<br>
Will this scenario still work ?<br></blockquote><div><br></div><div>Yes, after my fix it still works.</div><div>It is better <b>not</b> to add other artificial restrictions. They would bring no benefit as Martin noted.</div><div><br></div><div>Juha</div><div><br></div></div></div></div>