User defined values



I have defined several user defined variables for a shape.
I want the shape to have the following double-click behavior:

When the shape is double-clicked, a dialog will appear with a list of the
user-defined values(showing name and value). The user can modify the values
and dismiss the dialog. The shape will then take the modified values for the
user-defined values. In another word, I want to have a window which allows
the user to view and modify user-defined values. In this way, the user does
not need to dive into the Shape*** to change the user-defined values.

My question is how can I achieve this?

Thanks a bunch,

Sean
.