[Lazarus] Weird object variables access [SOLVED] - Delphi mode bug!
lazarus at kluug.net
Wed Oct 25 11:19:32 CEST 2017
On 25.10.2017 11:14, Michael Van Canneyt wrote:
> On Wed, 25 Oct 2017, Ondrej Pokorny via Lazarus wrote:
>> Yes, the code is wrong. But the reason is that myMethod is assigned
>> in FormCreate. The later "@myMethod := pMethod;" assignment
>> overwrites only half of the myMethod:TProc variable and so correct
>> Self stays in the second half of myMethod.
> That is what I wanted to indicate :)
Sorry - I am often to dumb to understand indications - my wife can
confirm that :)
More information about the Lazarus