[Lazarus] Class never seems to be initialized

ik idokan at gmail.com
Mon Jan 28 22:04:50 CET 2013


Hello,

I have a very weird problem:

I have a class as a property of another class.
I initialize it, but when checking if it was assigned, I get always
false (both at:
https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L189
and https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L285)

I can't figure out what am I missing or doing wrong.
I tried at the beginning to use a record, and it was the same problem,
so I moved to a class, because
I thought it was a memory allocation issue, but the problem remains.

I'm using Lazarus 1.1 SVN Revision: 40007M with FPC 2.6.0 on Arch Linux x86_64

Ido




More information about the Lazarus mailing list