For some reason the Assign is not assigning the source object to the LiST object.
I did an Assert of the Data for the key of interest and the data is there, this is prior to attempting the assignment.
So, I have a TFPGMAP<KeyRecord, TMyDrawingObjects>;
and a TFPGLIST<TMyDrawingObjects>;
SO I would expect this.
Assert(MyMapofDrawingObjects[Valid-Key]<>Nil); //Passes
MyListOFDrawingObjects.Assign(MyMapOfDrawingObjects[Valid-Key]); //No errors but does not assign.
The only thing I can add to this is the source of the "MyListOFDrawingObjects" is a VAR parameter of the current function body, so it's not local but a reference if that makes any difference.
When I view this the receiving Drawing Object List it is empty with 0 count of items and there is at least 2 items at this time in the source.
what's happening here?
Jamie