Hide properties and events in new component

  • A+
Category:Languages

I created in Lazarus a new component based on TPaintBox. Now in Object Inspector I have all Properties and Events which belong to this base component (TPaintBox).

My question is: can I hide chosen Properties and Events for my component?

For example I would like to leave visible only Width and Height properties.

Can you help me?

 


Once a property/event has been published, it cannot be un-published.

However, it can be hidden from the Object Inspector, at least (it is still accessible to code).

After your design-time code has registered the component with the IDE, it can then:

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: