I've been using frames, but not very good result...
For example, If I have to duplicate in a form twice the same frame, loading data, with events...
It gets messy and throws exceptions. They both use same variable/class, and not a new instance.
If I do it with forms, Works with no problem. I host two instances of a form in a panel each, and I have no problem ...
i've got more problems with them. They are tricky.IMHO.
Also, If I make a frame to be hosted in a panel... sometimes, and other times I need it to be shown in a form , I end Up making a form to host a frame.I rather make a form with a couple of properties to select regular borderstyle, single, resizable... or border none with a little own header. that way, in spite of using a frame, and having to host sometimes in a panel and other times in a form... I do directly a form. And If neded to show in panel I do, and if just wanto to pop it up..
Also, If I change a Frame at dessign time, and its in a form that I have opened in IDE, changes wont show always. I gotta go and take it from form, and add it again,....
Don't know, Didnt like'em very much. Maybe 'cause I've been working too much with .net and c# (also do), where components work kinda same easy using way as Delphi frames, and give me too many unexpected results.
Well, Just comment. Maybe someone has other way or finds his own.
Regards