```
   I need to change only xoffset of my textfield on a particular event . I am writing the following line .

```

*fileNametext.frame.origin.x = 300.0;*

But I am getting the following error .

*error: lvalue required as left operand of assignment*

Can somebody please help me ? Thanks in advance .