I have a TList that contains TPoint object typecasted to plain "Object".
I'm then using ListToArray to convert my TList into an array, but it's returning an Object[] array.
Can I somehow have ListToArray return a TPoint[] array?
Otherwise I need to typecast every single item in the Object[] array to a TPoint before using it.
I'm then using ListToArray to convert my TList into an array, but it's returning an Object[] array.
Can I somehow have ListToArray return a TPoint[] array?
Otherwise I need to typecast every single item in the Object[] array to a TPoint before using it.