I want to create a new component. How to hide a property Captionin the object inspector? I use TPanelas an ancestor class.
Caption
TPanel
using UnlistPublishedProperty . On this link http://delphihaven.wordpress.com/2009/05/17/tip-removing-a-property-at-design-time/ you can find a fully explained example.
LE: as a good practice, you should create another class, a descendant of TCustomPanel, and publish only the properties you need / need.
Use TCustomPanelas a base class and publish the necessary properties.
TCustomPanel