[Lazarus] TControl.Click?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Oct 1 13:04:42 CEST 2011


On Sat, 1 Oct 2011 11:28:01 +0200
Zaher Dirkey <parmaja at gmail.com> wrote:

>[...]
> In my knowledge, Mehtod of the object,  is pointer to the Procedure and
> pointer to that Object, i do not know if that correct.

Correct.

> Now in design time, the code not set, that is ok, but data set to fake
> pointer, what is it?.

In case of Lazarus it is a TJITMethod.


> Maybe if i want to understand i must follow the IDE designer and read it, or
> you can explain it to me :) .

see designer/jitforms.pp
TJITMethod stores the owner object and method name. At runtime this
information is normally stored in the method data and the VMT of the
class of the method owner.

Mattias




More information about the Lazarus mailing list