Well, supose I have declared two classes in the same unit, let's say one inhereted from TForm and other from TFrame (or combinations) which are both visual classes. I know it's not possible to visualize them (in Lazarus nor in Delphi) because only one .xfm/.lfm could be associated to every unit, by, for example, {$R *.dfm}.
My suggestion is that, it would be great if this could be done, that is, when I want to see the forn associated to a unit, the program should take care that inside that unit, there is more than one, and, for example, it should ask which one I want to see, in a window with a list of the visual resources that can be loaded.
This would be great because, in this way, it's reduced the number of necesary units and in addition circular references between them could be created (since they are in the same unit using TSomething = class), even though this must be discussed since it could lead to a bad dessign.
Greetings and thanks.
(This is a Tongadall post translated by Galbi)(Both Argentains)