i have a text box which diplays a result from a function. I would like to copy and paste this result. Trouble is, i need the textbox to be locked, and during run time when result is displayed, if I copy and paste into notepad results in a display of the code for the function instead of the value. what am I doing wrong ? Note, if i the locked property to false, everythings fine.