Never mind, I've solved the problem. I've declared x and y in class MyApp global. Because of this, I no longer have to create a new CList or PList, but use the same one throughout the application. Thanks anyway, Vivienne