Control an object using the ComboBox

Hi,

Can someone show me how can I changed the width and height of a rectangle using a comboBox?

Thanks a lot!