[Lazarus] How to hide class names in a property grid?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 14 16:57:23 CET 2015


On Thu, 12 Nov 2015 16:13:48 +0100
Gabor Boros <gaborboros at yahoo.com> wrote:

> 2015.11.12. 11:33 keltezéssel, Mattias Gaertner írta:
> > There is no option yet.
> >
> > It is done by TClassPropertyEditor.GetValue in unit propedits.pp.
> >
> > Feel free to implement an option.
> 
> I created a property and attached the patch. Please review.

Only TClassPropertyEditor shows the classname. Descends like
TPersistentPropertyEditor shows the name for Components.

Maybe better make the option a class option of TClassPropertyEditor.

Mattias




More information about the Lazarus mailing list