[Lazarus] Library, Threads and Gui

Michael Schnell mschnell at lumino.de
Tue Jun 5 13:01:00 CEST 2012


On 06/05/2012 11:57 AM, Mark Morgan Lloyd wrote:
>
>
> What I'm hoping to do is use the library's form(s) purely for design 
> purposes, i.e. they're never displayed but instead their menu 
> structure is copied to the main program. Non-graphical backend 
> functionality would be in the library, and I've obviously got the 
> choice of attempting to control this using OnClick() etc. or by 
> passing commands in strings to be parsed.
>
AFAIK, (I did not use menus on that behalf, but I think it should work 
with Panels, buttons, etc), setting the parent property should "move" a 
control to new form. Maybe Owner should be modified accordingly to 
prevent that the child is deleted before the new parent.

-Michael





More information about the Lazarus mailing list