I am trying to assign a name to a shape I create through code. The user is presented with a form on which they can select the type of shape and enter top, left, width and height properties.

I want to allow the user to be able to edit this shape by selecting it ie change its position and size. For this I assume I need to reference the shape, the problem I have is; how do I give the shape a name programmatically and how can I access the shapes properties.

Thanks in advance.

Regards

T.