Text is a property, not a variable. SetLength only works on variables. You can get a valua via the property and set a value to it, so one Alternative could be:Code: Pascal [Select][+][-]txtMovMntD.Text := txtMovMntD.Text.Substring(0, txtMovMntD.Text.Length -1);
I have this error message: "Error: Illegal qualifier"