Should I use delphi tframes for multi-pages forms?

前端 未结 4 1358
轮回少年
轮回少年 2021-02-04 15:04

I have some forms in my application which have different \"states\" depending on what the user is doing; for exemple when listing through his files the form displays some data a

4条回答
  •  无人及你
    2021-02-04 15:27

    Looks like Frames are an excellent choice for this scenario. I'd like to add that you can use a Base Frame and Visual Inheritance to create a common interface.

    And to the second part: You design a Frame like a Form but you use it like a Control, very few restrictions. Note that you could just as easily use Create/Free instead of Show/Hide. What is better depends on how resource-heavy they are.

提交回复
热议问题