>Naomi
>
>I want to choose the color of a shape in form1 with a palete I created in form2
>The palete has lots of buttons with different back colors
>
>I tried
>
>res4.&shapex.BackColor = this.BackColor
>
>But it results error
What is the shapeX?
assuming ShapeX is "shape1" and you have it on the form
store this.BackColor to ('res4.' + shapeX + ".BackColor")
If it's not broken, fix it until it is.
My Blog