'delete' is defined twice in the NoteBook class. Moreover the second definition misses the 'destroyframe' argument, making this argument unusable. The 'delete' call in 'getframe' seems also incorrect. Regards, Markus