I have had a play with the code you sent me but have ahd no luck, so I have given up on this topic for a while, but I do have another small problem, in the code attached I draw a string to a picture box by clicking the button then when I enter text into the textbox the string changes. the small problem is that when I first change the text the string moves out of positiion a little bit, why is this?