Hi! how to hide a property in object inspector? i have my custom components …

  

For my link archive:

[WayBack] How to hide a property in object inspector? i have my custom components …
[WayBack] delphi – Custom component and tab order – Stack Overflow

Some quotes

Jeroen Wiert Pluimers
You cannot undo things that are inherited. What you can do is not make that property published but overwrite the streaming mechanism of your component for instance by using http://docwiki.embarcadero.com/Libraries/en/System.Classes.TPersistent.DefineProperties
Fabian S. Biehn
You could just make your property public instead of published:
Not visible in OI but accessible via source code.
Ondrej Kelle
Use the TCustomXYZ pattern (with unpublished properties) to allow descendants to publish them selectively.
Eugene Kryukov
Take a look at selection editor (ISelectionpropertyFilter). For example see how TMobileFormFilter works at FmxReg.pas in Source\Property Editors
Attila Kovacs
3rd part of the accepted answer? : http://stackoverflow.com/questions/10190615/custom-component-and-tab-order/10194662#10194662

–jeroenFiled under: Delphi, Development, Software Development

Comments are closed.