On 28/01/2013 21:04, ik wrote:
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.
Is it both time the same tab object?
Maybe debugln its address.
Also, if you run in the debugger, you can set a watchpoint, after you
initialized it, and the debugger will break, if it is modified.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus