[Lazarus] Is it meaningful or possible to change the visibility or the properties and events in a form or datamodule, ie make the private or protected?

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Mar 23 16:58:19 CET 2012


Frank Church schrieb:
> Is it meaningful or possible to change the visibility or the
> properties and events in a form or datamodule, ie make the private or
> protected?

Then derive from TCustomForm instead of TForm. As for most TCustom... 
classes, TCustomForm declares all essential properties as protected, and 
only TForm publishes those properties, which shall be editable at design 
time (in the OI).

DoDi





More information about the Lazarus mailing list