[email protected] schrieb:
type
// Friend class to get access to protected methods
THackCustomEdit = class(TCustomEdit);
The Hack says it all. Here you are working outside regular OOP rules.
It's only working around OPL deficiencies, for which e.g. C++ offers
different OOP means (friend...). Without the introduction of means, upon
which above hack is based, the OPL (and VCL/LCL) would be much less useful.
DoDi
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus