caption is a property, and properties don't like reads and writes at the same time. (they either call the read function or the write procedure)
do this:
Code:
var temp: string;
...
temp:=frmMain.lblWord.Caption;
temp[i]:=C;
frmMain.lblWord.Caption := temp;
Yeah, I already knew I could just declare another string and use that... I just wanted to make sure if there wasn't something I could do to get the job done directly. I'll go ahead and use it, it's not a big deal.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum