Here is a quick comparison of Delphi components and frames and at the end is my question.
Advantages of Delphi components:
public and published properties of components.Disadvantages of Delphi components:
Advantages of Delphi frames:
published properties also can be adjusted in a formDisadvantages of Delphi frames:
published section, design-time customizations are broken in the frame designer too.Resize method in a frame all the arrangements are available at run-time only. No arrangements at design-time are made.published property, it is not available in object inspector.What I would like to have is a symbiotic thing:
Could you suggest a thing that fulfills these requirements? Or may be some surprising method to work with frames I didn't know about?
It shouldn't be necessarily a frame or a component. If some of other VCL classes fulfills these requirements, I would gratefully accept it.
If its properties have to be editable in the designer the object has to be a descendant of TComponent. TFrame actually is a descendant of TComponent.
Unfortunately, object inspector seems to use structure information from design-time packages only. Thus, you have to compile a design-time package for your custom published properties to show in object inspector. But that strikes your requirement of Quick availability.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With