Hello!
I'm trying to understand the correct way to an application with a single-window that has a "home" button to go back to the main form. Ex: Discord, Telegram, Skype etc. So, lets go:
My question is to make all Units as Frames to use in a TFrame on Main Form, or even in a TNotebook, or TForms and use it inside a TPanel, TNotebook, or other TWinControl.
I always thought that the correct way is using Form and embed it somewhere, and the Frames was only to use a set of components until I saw some thread about the use of both, but now looking at the Wiki I get more confused than before:
https://wiki.lazarus.freepascal.org/Frames:
What can they be used for?
They are needed when you have a group of components that you want to reuse on multiple forms.
It looks like the Frames were built to reuse components in different parts of the application.
I'm not sure about the performance and memory of an application with 1000 or 2000 Frames full of components and with thousand of lines of code on each like we do with Forms.
What do you guys recommend?
Also, how is named an application like that? MDI, SDI, MFI?