[Lazarus] How to hide class names in a property grid?
nc-gaertnma at netcologne.de
Wed Nov 11 21:22:03 CET 2015
On Wed, 11 Nov 2015 18:45:52 +0100
Gabor Boros <gaborboros at yahoo.com> wrote:
> Hi All,
> I use a property grid in my application and don't want to advertise my
> class names to the users. For example (TSizeConstraints) displayed next
> to Contraints. Any idea how to hide class names or override at
> object(TPersistent) level?
You cannot decrease visibility in Free Pascal.
You can hide properties in the Object inspector. For example
RegisterPropertyEditor(TypeInfo(TAnchorSide), TControl, 'AnchorSideLeft', THiddenPropertyEditor);
More information about the Lazarus