[Lazarus] creating multiple non-modal form instances
Malcolm Poole
malcolm at lingua-z.co.uk
Tue Feb 3 20:52:53 CET 2009
Graeme Geldenhuys wrote:
> How do I track such instances? By tracking I mean something like a MDI
> interface's 'Windows' menu item?
> My application is a SDI style app. If the user has many forms open, I
> want them to somehow be able to bring a certain form to the front. Or
> should I not bother and they simply use the taskbar for that. Then
> again, what if the app is run under Linux and the window manager
> doesn't have a taskbar?
>
>
My first commissioned app worked like that - you could open any number
of reports which used the same forms and could be accessed by a
dynamically created menu on the main form. If I remember correctly I had
a TList to which each form was added as it was created and when the
report forms closed they called a procedure of the main form which
removed them from the TList.
Regards,
Malcolm
More information about the Lazarus
mailing list