I was having my usual stroll around and bumped on some frames discussions.
I'm mainly a Delphi hobbyist and not a professional, so I had to learn how to use TFrames my own way which is:
- Create a TFrame inside its unit.
- Add that unit to the main form Uses clause.
- Have a private variable of that TFrame's type
- OnCreate of the form instanciates the TFrame and attaches it to a TPanel both on the Create and .Parent
- On one of my Actions set that TFrame.Visible := True and .BringToFront.
This is my practice after some personal deliberation.
What other ways can one use the frames?