Vlad,
Calling ZOrder() at runtime only affects the instantiated objects, not the .scx file so it's not a "permanent" change. I don't know if calling a design surface ZOrder() method from an aselobj() object affects it or not.
>Right. I just tested now and (I hope I'm right), the ZOrder() method rearanges the objects in the container's Controls collection. oObject.ZOrder(0) moves oObject to the end of the collection and ZOrder(1) moves oObject in front of the collection. Am I right?
>
>So, we have a property reflecting the "Send to back" and "Bring to front" actions.