ok, now the code fragments look more clear.
I have no more suggestions but the one about deriving your TStruct from
TObject, as almost everything in the LCL (and/or VCL, I guess I name
them right) is a descendant of it.
Again. maybe it's not the best thing you'll like to do, but this way
IMHO you'll save yourself a lot of frustration ;-)
Cheers, A.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal