Hi
I tested this using the layers demo by creating three layers and calling this code:
ImageEnView1.LayersDeselectAll();
ImageEnView1.LayersCurrent := ImageEnView1.LayersCount - 1;
ImageEnView1.SetFocus();
It worked as expected (clicking Delete removed the text layer).
Can you give me more information?
Nigel
Xequte Software
www.imageen.com