[Lazarus] SendMessage Bug Work Around.

Razvan Adrian Bogdan lightningflash at gmail.com
Thu May 6 10:09:57 CEST 2010


Juha Manninen schrieb:

> Anyway, the project has bigger problems than a useless function call.
> There is an ugly TCrackControl typecast trick which should be cleaned out if 
> this program is going to be developed more.

Delphi goes a different route, by allowing access to protected (and even 
private?) members of classes by means of Extended RTTI. In any case the 
encapsulation of class fields and methods is broken; this encapsulation 
was designed for an interface between the component library and 
application code, not for code transformation, GUI designers or other 
"low level" stuff.

DoDi





More information about the Lazarus mailing list