[Lazarus] TFrame improvements
Michael Van Canneyt
michael at freepascal.org
Mon Nov 29 12:05:13 CET 2021
On Mon, 29 Nov 2021, Juha Manninen via lazarus wrote:
> 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
>> 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.
What do you mean 'artificial restrictions' ? The above is quite standard.
More information about the lazarus