Home > Back-end >  Delphi frame and inherit the form which is more efficient
Delphi frame and inherit the form which is more efficient

Time:10-22

Such as the title, in a project, a lot of the same form interface. It is to use frame of high efficiency, or to create a basic form to other form
Inherit, these two kinds of solution which is better, please give details,

CodePudding user response:

Derived form must be created dynamically, right? If this is the case, the derived form at design time can't see, not intuitive, if derived form contains some base class no artifacts in the form, enough trouble, the advantages of frame is this?

If multiple derived form is not parallel derived, its content can be layers of inheritance, it has some advantages, so how to choose also depends on the specific requirements, may in some cases a combination is better,
  • Related