Hide property from object inspector in delphi

I want to create a new component. How to hide a property Captionin the object inspector? I use TPanelas an ancestor class.

+5
source share
2 answers

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.

+8
source

Use TCustomPanelas a base class and publish the necessary properties.

+13
source

All Articles