My question is pretty simple. I have a TList (called queue
) containing objects of class CNotif
and want to use the method is_alive
on those objects.
The problem is, when I use queue.Items[0].is_alive()
, I get an error message saying Error: Illegal qualifier
.
I'm also confused with the way I can instantiate objects in this TList (and how the way the compiler "knows" that the objects stored are of this type ...)
What I do now is: queue.Add(CNotif.create(timer, title, text, badge))
but I don't think it's supposed to be done that way.
Thank you in advance !